update to 0.9.20 [release 0.9.20-1mamba;Thu Nov 13 2014]
This commit is contained in:
parent
eb0b3ed2d9
commit
64aae04a3b
@ -2,15 +2,15 @@
|
|||||||
%define autodist_gid 65415
|
%define autodist_gid 65415
|
||||||
|
|
||||||
Name: autodist
|
Name: autodist
|
||||||
Version: 0.9.19
|
Version: 0.9.20
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A tool based on autospec for repository-level automatic builds
|
Summary: A tool based on autospec for repository-level automatic builds
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.openmamba.org
|
URL: http://gitlab.mambasoft.it/openmamba/autodist
|
||||||
Source: http://www.openmamba.org/distribution/sources/autodist-%{version}.tar.bz2
|
Source: http://gitlab.mambasoft.it/openmamba/autodist.git/v%{version}/autodist-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -21,6 +21,7 @@ Requires: rpm
|
|||||||
Requires: vixie-cron
|
Requires: vixie-cron
|
||||||
Requires: autospec >= 0.9.7
|
Requires: autospec >= 0.9.7
|
||||||
Requires: lynx
|
Requires: lynx
|
||||||
|
%systemd_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A tool based on autospec for repository-level automatic builds.
|
A tool based on autospec for repository-level automatic builds.
|
||||||
@ -56,14 +57,25 @@ if [ $1 -ge 1 ]; then
|
|||||||
/usr/sbin/useradd -u %{autodist_uid} -c 'Automatic Build System' -d /var/autodist -g autodist -G packager,tty \
|
/usr/sbin/useradd -u %{autodist_uid} -c 'Automatic Build System' -d /var/autodist -g autodist -G packager,tty \
|
||||||
-s /bin/bash autodist 2>/dev/null
|
-s /bin/bash autodist 2>/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
:
|
||||||
|
|
||||||
|
%post
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
# for daemon-reload
|
||||||
|
%systemd_postun
|
||||||
|
%tmpfiles_create %{name}.conf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/usr/sbin/groupdel autodist 2>/dev/null
|
/usr/sbin/groupdel autodist 2>/dev/null
|
||||||
/usr/sbin/userdel autodist 2>/dev/null
|
/usr/sbin/userdel autodist 2>/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -89,6 +101,7 @@ exit 0
|
|||||||
%{_sbindir}/autodist-upstream-updates
|
%{_sbindir}/autodist-upstream-updates
|
||||||
%{_sbindir}/automaint
|
%{_sbindir}/automaint
|
||||||
%{_sbindir}/autoport-chroot
|
%{_sbindir}/autoport-chroot
|
||||||
|
%{_prefix}/lib/tmpfiles.d/autodist.conf
|
||||||
%dir %{_datadir}/autodist
|
%dir %{_datadir}/autodist
|
||||||
%{_datadir}/autodist/webbuild-functions
|
%{_datadir}/autodist/webbuild-functions
|
||||||
%attr(4775,root,packager) %{_bindir}/autoport-fix-environment
|
%attr(4775,root,packager) %{_bindir}/autoport-fix-environment
|
||||||
@ -98,7 +111,6 @@ exit 0
|
|||||||
%config %attr(0664,autodist,packager) /var/autodist/.bashrc
|
%config %attr(0664,autodist,packager) /var/autodist/.bashrc
|
||||||
%attr(0775,autodist,packager) %dir /var/autodist/RPM
|
%attr(0775,autodist,packager) %dir /var/autodist/RPM
|
||||||
%attr(0775,autodist,packager) /var/autodist/RPM/*
|
%attr(0775,autodist,packager) /var/autodist/RPM/*
|
||||||
%attr(0775,autodist,packager) %dir /var/run/autodist
|
|
||||||
%attr(0775,autodist,packager) %dir /var/autodist/template
|
%attr(0775,autodist,packager) %dir /var/autodist/template
|
||||||
%attr(0775,autodist,packager) %dir /var/autodist/template/autoupdate
|
%attr(0775,autodist,packager) %dir /var/autodist/template/autoupdate
|
||||||
%config %attr(0664,root,packager) /var/autodist/template/autoupdate/auto.success
|
%config %attr(0664,root,packager) /var/autodist/template/autoupdate/auto.success
|
||||||
@ -135,6 +147,9 @@ exit 0
|
|||||||
%config(noreplace) %attr(0600,apache,nobody) %{_localstatedir}/webbuild/users/admin.conf
|
%config(noreplace) %attr(0600,apache,nobody) %{_localstatedir}/webbuild/users/admin.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.20-1mamba
|
||||||
|
- update to 0.9.20
|
||||||
|
|
||||||
* Fri Sep 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.19-1mamba
|
* Fri Sep 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.19-1mamba
|
||||||
- update to 0.9.19
|
- update to 0.9.19
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user