update to 1.4.0 [release 1.4.0-1mamba;Tue Jan 02 2024]
This commit is contained in:
parent
387bb917d8
commit
4d5080c31d
@ -2,7 +2,7 @@
|
||||
%define autodist_gid 65415
|
||||
|
||||
Name: autodist
|
||||
Version: 1.3.3
|
||||
Version: 1.4.0
|
||||
Release: 1mamba
|
||||
Summary: A tool based on autospec for repository-level automatic builds
|
||||
Group: Development/Tools
|
||||
@ -10,17 +10,20 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://gitlab.mambasoft.it/openmamba/autodist
|
||||
Source: http://gitlab.mambasoft.it/openmamba/autodist.git/v%{version}/autodist-%{version}.tar.bz2
|
||||
Source: https://gitlab.mambasoft.it/openmamba/autodist.git/v%{version}/autodist-%{version}.tar.bz2
|
||||
License: GPL
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildArch: noarch
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: sudo
|
||||
Requires: rpm
|
||||
Requires: vixie-cron
|
||||
Requires: autospec >= 0.9.7
|
||||
Requires: autospec
|
||||
Requires: lynx
|
||||
Requires: python-configobj-py3
|
||||
Requires: python-GitPython-py3
|
||||
Requires: python-py-gitea-py3
|
||||
Requires: python-rpm-py3
|
||||
Requires: python-rpm-spec-py3
|
||||
Requires: rpm
|
||||
Requires: sudo
|
||||
%systemd_requires
|
||||
|
||||
%description
|
||||
@ -53,8 +56,8 @@ install -d -m1777 %{buildroot}%{_localstatedir}/autodist-tmp
|
||||
|
||||
%pre
|
||||
if [ $1 -ge 1 ]; then
|
||||
/usr/sbin/groupadd autodist -g %{autodist_gid} 2>/dev/null
|
||||
/usr/sbin/useradd -u %{autodist_uid} -c 'Automatic Build System' -d /var/autodist -g autodist -G packager,tty \
|
||||
groupadd autodist -g %{autodist_gid} 2>/dev/null
|
||||
useradd -u %{autodist_uid} -c 'Automatic Build System' -d /var/autodist -g autodist -G packager,tty \
|
||||
-s /bin/bash autodist 2>/dev/null
|
||||
fi
|
||||
:
|
||||
@ -68,8 +71,8 @@ fi
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/usr/sbin/groupdel autodist 2>/dev/null
|
||||
/usr/sbin/userdel autodist 2>/dev/null
|
||||
/usr/bin/groupdel autodist 2>/dev/null
|
||||
/usr/bin/userdel autodist 2>/dev/null
|
||||
fi
|
||||
:
|
||||
|
||||
@ -87,6 +90,7 @@ fi
|
||||
%{_sysconfdir}/cron.hourly/65-autoport
|
||||
%{_sysconfdir}/cron.daily/40-autodist-cleanold
|
||||
%config(noreplace) %attr(0664,root,packager) %{_sysconfdir}/autodist/config
|
||||
%config(noreplace) %attr(0664,root,packager) %{_sysconfdir}/autodist/config-git
|
||||
%attr(0440,root,root) %{_sysconfdir}/sudoers.d/autoport
|
||||
%dir %attr(0775,root,packager) %{_sysconfdir}/autodist/distdb.d
|
||||
%{_sysconfdir}/autodist/distdb.d/embedded.db
|
||||
@ -96,6 +100,7 @@ fi
|
||||
%config %attr(0775,root,packager) %{_sysconfdir}/autodist/scripts/update-specfile
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/autoport
|
||||
%{_bindir}/autodist
|
||||
%{_bindir}/autodist-git
|
||||
%{_bindir}/autodist-inspect
|
||||
%{_bindir}/autodist-launcher
|
||||
%{_bindir}/autodist-tool
|
||||
@ -158,6 +163,9 @@ fi
|
||||
%config(noreplace) %attr(0600,apache,nobody) %{_localstatedir}/webbuild/users/admin.conf
|
||||
|
||||
%changelog
|
||||
* Tue Jan 02 2024 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
||||
- update to 1.4.0
|
||||
|
||||
* Mon Oct 09 2023 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
||||
- update to 1.3.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user