Hello community,
here is the log from the commit of package perl-App-Dochazka-REST for
openSUSE:Factory checked in at 2016-10-25 17:44:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-App-Dochazka-REST (Old)
and /work/SRC/openSUSE:Factory/.perl-App-Dochazka-REST.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-App-Dochazka-REST"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-App-Dochazka-REST/perl-App-Dochazka-REST.changes
2016-10-18 10:38:42.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-App-Dochazka-REST.new/perl-App-Dochazka-REST.changes
2016-10-25 17:44:34.000000000 +0200
@@ -1,0 +2,95 @@
+Mon Sep 26 12:00:22 UTC 2016 - [email protected]
+
+- updated to 0.547
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Sun Sep 25 07:44:38 UTC 2016 - [email protected]
+
+- updated to 0.546
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Fri Sep 23 12:46:17 UTC 2016 - [email protected]
+
+- updated to 0.545
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Sun Sep 18 23:08:50 UTC 2016 - [email protected]
+
+- updated to 0.544
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Sat Sep 17 21:25:30 UTC 2016 - [email protected]
+
+- updated to 0.543
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Thu Sep 15 07:02:06 UTC 2016 - [email protected]
+
+- updated to 0.542
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Wed Sep 14 12:31:22 UTC 2016 - [email protected]
+
+- add example and empty config files
+
+-------------------------------------------------------------------
+Wed Sep 14 10:50:42 UTC 2016 - [email protected]
+
+- updated to 0.541
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Tue Sep 13 12:24:17 UTC 2016 - [email protected]
+
+- updated to 0.540
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Tue Sep 13 07:11:30 UTC 2016 - [email protected]
+
+- updated to 0.539
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Mon Sep 12 09:33:47 UTC 2016 - [email protected]
+
+- updated to 0.538
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Sun Sep 11 19:21:47 UTC 2016 - [email protected]
+
+- updated to 0.537
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
+Thu Sep 8 11:06:23 UTC 2016 - [email protected]
+
+- updated to 0.536
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+- add perl(Starman) dependency
+- systemd unit file moved to ext/
+- rename the dochazka user to dochazka-rest
+
+-------------------------------------------------------------------
+Wed Sep 7 13:15:11 UTC 2016 - [email protected]
+
+- generate the spec fully from cpanspec.yml
+- create /var/{log,lib}/dochazka with dockazka:dochazka ownership
+- create /etc/dochazka-rest (currently empty, will be populated with sample
+ config file)
+- add systemd unit file
+
+-------------------------------------------------------------------
+Mon Sep 5 16:27:55 UTC 2016 - [email protected]
+
+- updated to 0.535
+ see /usr/share/doc/packages/perl-App-Dochazka-REST/Changes
+
+-------------------------------------------------------------------
Old:
----
App-Dochazka-REST-0.531.tar.gz
_service
New:
----
App-Dochazka-REST-0.547.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-App-Dochazka-REST.spec ++++++
--- /var/tmp/diff_new_pack.RGYFfp/_old 2016-10-25 17:44:35.000000000 +0200
+++ /var/tmp/diff_new_pack.RGYFfp/_new 2016-10-25 17:44:35.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-App-Dochazka-REST
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,29 @@
Name: perl-App-Dochazka-REST
-Version: 0.531
+Version: 0.547
Release: 0
%define cpan_name App-Dochazka-REST
Summary: Dochazka REST server
License: BSD-3-Clause
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/App-Dochazka-REST/
-Source: %{cpan_name}-%{version}.tar.gz
+Source0: App-Dochazka-REST-0.547.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(App::CELL) >= 0.209
-BuildRequires: perl(App::Dochazka::Common) >= 0.192
+BuildRequires: perl(App::CELL) >= 0.215
+BuildRequires: perl(App::Dochazka::Common) >= 0.205
BuildRequires: perl(Authen::Passphrase::SaltedDigest) >= 0.008
BuildRequires: perl(DBD::Pg)
BuildRequires: perl(DBI)
BuildRequires: perl(DBIx::Connector) >= 0.47
BuildRequires: perl(Date::Calc)
-BuildRequires: perl(Date::Holidays::CZ) >= 0.08
-BuildRequires: perl(File::ShareDir)
+BuildRequires: perl(Date::Holidays::CZ) >= 0.12
+BuildRequires: perl(File::ShareDir) >= 1
+BuildRequires: perl(File::ShareDir::Install) >= 0.11
BuildRequires: perl(File::Slurp)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(JSON)
@@ -48,7 +50,6 @@
BuildRequires: perl(Plack::Middleware::Session)
BuildRequires: perl(Plack::Middleware::StackTrace)
BuildRequires: perl(Plack::Runner)
-BuildRequires: perl(Plack::Session)
BuildRequires: perl(Plack::Test)
BuildRequires: perl(Pod::Simple::HTML)
BuildRequires: perl(Test::Deep::NoTest)
@@ -56,18 +57,18 @@
BuildRequires: perl(Test::JSON)
BuildRequires: perl(Test::Warnings)
BuildRequires: perl(Try::Tiny)
-BuildRequires: perl(Web::MREST) >= 0.276
+BuildRequires: perl(Web::MREST) >= 0.282
BuildRequires: perl(Web::MREST::CLI) >= 0.276
BuildRequires: perl(Web::Machine) >= 0.15
-Requires: perl(App::CELL) >= 0.209
-Requires: perl(App::Dochazka::Common) >= 0.192
+Requires: perl(App::CELL) >= 0.215
+Requires: perl(App::Dochazka::Common) >= 0.205
Requires: perl(Authen::Passphrase::SaltedDigest) >= 0.008
Requires: perl(DBD::Pg)
Requires: perl(DBI)
Requires: perl(DBIx::Connector) >= 0.47
Requires: perl(Date::Calc)
-Requires: perl(Date::Holidays::CZ) >= 0.08
-Requires: perl(File::ShareDir)
+Requires: perl(Date::Holidays::CZ) >= 0.12
+Requires: perl(File::ShareDir) >= 1
Requires: perl(JSON)
Requires: perl(Mason)
Requires: perl(Params::Validate) >= 1.06
@@ -75,26 +76,47 @@
Requires: perl(Plack::Middleware::Session)
Requires: perl(Plack::Middleware::StackTrace)
Requires: perl(Plack::Runner)
-Requires: perl(Plack::Session)
Requires: perl(Pod::Simple::HTML)
Requires: perl(Test::Deep::NoTest)
Requires: perl(Try::Tiny)
-Requires: perl(Web::MREST) >= 0.276
+Requires: perl(Web::MREST) >= 0.282
Requires: perl(Web::MREST::CLI) >= 0.276
Requires: perl(Web::Machine) >= 0.15
%{perl_requires}
-Requires(pre): pwdutils
+# MANUAL BEGIN
+BuildRequires: systemd
+BuildRequires: perl(Starman)
+Requires: perl(Starman)
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+%{?systemd_requires}
+
+%pre
+getent group dochazka-rest >/dev/null || groupadd -r dochazka-rest
+getent passwd dochazka-rest >/dev/null || useradd -r -g dochazka-rest -d
%{_localstatedir}/lib/dochazka-rest -s /sbin/nologin -c "user for dochazka
REST" dochazka-rest
+%service_add_pre dochazka-rest.service
+
+%preun
+%service_del_preun dochazka-rest.service
+
+%postun
+%service_del_postun dochazka-rest.service
+
+%post
+%service_add_post dochazka-rest.service
+# MANUAL END
%description
-This distribution, the App::Dochazka::REST manpage, including all the
-modules in 'lib/', the scripts in 'bin/', and the configuration files in
-'config/', constitutes the REST server component of Dochazka, the
-open-source Attendance/Time Tracking (ATT) system.
+This distribution, App::Dochazka::REST, including all the modules in
+'lib/', the scripts in 'bin/', and the configuration files in 'config/',
+constitutes the REST server (API) component of Dochazka, the open-source
+Attendance/Time Tracking (ATT) system.
Dochazka as a whole aims to be a convenient, open-source ATT solution.
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
@@ -105,21 +127,29 @@
%install
./Build install destdir=%{buildroot} create_packlist=0
-%{__install} -d -m 0755 %{buildroot}/var/log/dochazka
-%{__install} -d -m 0755 %{buildroot}/var/lib/dochazka
-%{__install} -d -m 0755 %{buildroot}/etc/dochazka
+# MANUAL BEGIN
+install -dm0755 %{buildroot}%{_sysconfdir}/dochazka-rest
+install -m0640 ext/REST_SiteConfig.pm.example
%{buildroot}%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm
+install -m0640 ext/REST_SiteConfig.pm.example
%{buildroot}%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm.example
+install -dm0755 %{buildroot}%{_localstatedir}/lib/dochazka-rest
+install -dm0755 %{buildroot}%{_localstatedir}/log/dochazka
+mkdir -p %{buildroot}%{_sbindir}
+mkdir -p %{buildroot}%{_unitdir}
+ln -sf service %{buildroot}%{_sbindir}/rcdochazka-rest
+install -m0644 ext/systemd/dochazka-rest.service
%{buildroot}%{_unitdir}/dochazka-rest.service
+
+echo "%dir %{_sysconfdir}/dochazka-rest" >> %{name}.files
+echo "%config(noreplace) %attr(0640,dochazka-rest,dochazka-rest)
%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm" >> %{name}.files
+echo "%config %attr(0640,dochazka-rest,dochazka-rest)
%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm.example" >> %{name}.files
+echo "%attr(0750,dochazka-rest,dochazka-rest) %dir
%{_localstatedir}/lib/dochazka-rest" >> %{name}.files
+echo "%attr(0750,dochazka-rest,dochazka-rest) %dir
%{_localstatedir}/log/dochazka" >> %{name}.files
+echo "%{_sbindir}/rcdochazka-rest" >> %{name}.files
+echo "%{_unitdir}/dochazka-rest.service" >> %{name}.files
+# MANUAL END
%perl_gen_filelist
-%pre
-getent group dochazka >/dev/null || groupadd -r dochazka
-getent passwd dochazka >/dev/null || useradd -r -g dochazka -d
/var/lib/dochazka -s /sbin/nologin -c "user for %{name}" dochazka
-exit 0
-
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes config LICENSE README.rst
-%dir /var/log/dochazka
-%dir /var/lib/dochazka
-%dir /etc/dochazka
+%doc Changes config ext LICENSE README.rst run-tests.sh version.plx WISHLIST
%changelog
++++++ App-Dochazka-REST-0.531.tar.gz -> App-Dochazka-REST-0.547.tar.gz ++++++
++++ 4418 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
preamble: |-
BuildRequires: perl(Starman)
BuildRequires: systemd
Requires: perl(Starman)
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
%{?systemd_requires}
%pre
getent group dochazka-rest >/dev/null || groupadd -r dochazka-rest
getent passwd dochazka-rest >/dev/null || useradd -r -g dochazka-rest -d
%{_localstatedir}/lib/dochazka-rest -s /sbin/nologin -c "user for dochazka
REST" dochazka-rest
%service_add_pre dochazka-rest.service
%preun
%service_del_preun dochazka-rest.service
%postun
%service_del_postun dochazka-rest.service
%post
%service_add_post dochazka-rest.service
post_install: |-
install -dm0755 %{buildroot}%{_sysconfdir}/dochazka-rest
install -m0640 ext/REST_SiteConfig.pm.example
%{buildroot}%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm
install -m0640 ext/REST_SiteConfig.pm.example
%{buildroot}%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm.example
install -dm0755 %{buildroot}%{_localstatedir}/lib/dochazka-rest
install -dm0755 %{buildroot}%{_localstatedir}/log/dochazka
mkdir -p %{buildroot}%{_sbindir}
mkdir -p %{buildroot}%{_unitdir}
ln -sf service %{buildroot}%{_sbindir}/rcdochazka-rest
install -m0644 ext/systemd/dochazka-rest.service
%{buildroot}%{_unitdir}/dochazka-rest.service
echo "%dir %{_sysconfdir}/dochazka-rest" >> %{name}.files
echo "%config(noreplace) %attr(0640,dochazka-rest,dochazka-rest)
%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm" >> %{name}.files
echo "%config %attr(0640,dochazka-rest,dochazka-rest)
%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm.example" >> %{name}.files
echo "%attr(0750,dochazka-rest,dochazka-rest) %dir
%{_localstatedir}/lib/dochazka-rest" >> %{name}.files
echo "%attr(0750,dochazka-rest,dochazka-rest) %dir
%{_localstatedir}/log/dochazka" >> %{name}.files
echo "%{_sbindir}/rcdochazka-rest" >> %{name}.files
echo "%{_unitdir}/dochazka-rest.service" >> %{name}.files