4 Commits

24
at.spec
View File

@ -2,14 +2,14 @@
%define atdaemon_userid 65022
Name: at
Version: 3.2.1
Version: 3.2.5
Release: 1mamba
Summary: Job spooling tools
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://blog.calhariz.com/tag/at
URL: http://software.calhariz.com/at/
Source0: http://software.calhariz.com/at/at_%{version}.orig.tar.gz
Source1: atd-initscript
Source2: at-pam.conf
@ -42,7 +42,6 @@ BuildRequires: libpam-devel
BuildRequires: libselinux-devel
## AUTOBUILDREQ-END
%systemd_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
At and batch read commands from standard input or from a specified file.
@ -50,8 +49,11 @@ At allows you to specify that a command will be run at a particular time (now or
Batch will execute commands when the system load levels drop to a particular level.
Both commands use /bin/sh to run the commands.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%patch2 -p1 -b .sigchld
%patch4 -p1 -b .lexer
#%patch5 -p1 -b .test
@ -73,7 +75,7 @@ sed -i "s|/var/run|/run|g" configure
--with-jobdir=%{_localstatedir}/spool/at \
--with-daemon_username=atdaemon \
--with-daemon_groupname=atdaemon \
--with-systemdsystemunitdir=%_unitdir
--with-systemdsystemunitdir=%{_unitdir}
%make -j1
#LANG=C make test >/dev/null
@ -135,6 +137,8 @@ chown atdaemon:atdaemon %{_localstatedir}/spool/at/.SEQ
%{_sbindir}/atrun
%{_sbindir}/atd
%{_unitdir}/atd.service
%dir %{_datadir}/at
%{_datadir}/at/batch-job
%attr(0700,atdaemon,atdaemon) %dir %{_localstatedir}/spool/at
%attr(0700,atdaemon,atdaemon) %dir %{_localstatedir}/spool/at/spool
%ghost %{_localstatedir}/spool/at/.SEQ
@ -145,6 +149,18 @@ chown atdaemon:atdaemon %{_localstatedir}/spool/at/.SEQ
%{_docdir}/at
%changelog
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
- automatic version update by autodist
* Tue Feb 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.4-1mamba
- update to 3.2.4
* Tue Apr 27 2021 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
* Tue Dec 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
- rebuilt with debug package and aarch64 build fix
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- update to 3.2.1