Add mising directory and batch-job script into at-3.2.5-make.patch

Defined datadir in %%install section and listed batch-job in %%files section
This commit is contained in:
Ondřej Pohořelský 2022-03-08 16:08:27 +01:00
parent 61a47903a5
commit 41850fcf84
2 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,6 @@
diff -ur b/Makefile.in a/Makefile.in
--- b/Makefile.in 2022-01-29 17:42:19.000000000 +0100
+++ a/Makefile.in 2022-02-22 13:22:45.060320153 +0100
--- b/Makefile.in 2022-02-05 11:00:57.000000000 +0100
+++ a/Makefile.in 2022-03-08 16:05:28.088069816 +0100
@@ -76,13 +76,13 @@
all: at atd atd.service atrun
@ -17,7 +17,7 @@ diff -ur b/Makefile.in a/Makefile.in
y.tab.c y.tab.h: parsetime.y
$(YACC) -d parsetime.y
@@ -99,40 +99,41 @@
@@ -99,40 +99,43 @@
configure
.c.o:
@ -36,6 +36,7 @@ diff -ur b/Makefile.in a/Makefile.in
+ $(INSTALL) -m 755 -d $(DESTDIR)$(etcdir)
+ $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
+ $(INSTALL) -m 755 -d $(DESTDIR)$(sbindir)
+ $(INSTALL) -m 755 -d $(DESTDIR)$(atdatadir)
+ $(INSTALL) -m 755 -d $(DESTDIR)$(docdir)
+ $(INSTALL) -m 755 -d $(DESTDIR)$(atdocdir)
+ $(INSTALL) -m 755 -d $(DESTDIR)$(etcdir)/pam.d/
@ -61,6 +62,7 @@ diff -ur b/Makefile.in a/Makefile.in
- $(INSTALL) -g root -o root -m 755 atrun $(DESTDIR)$(sbindir)
- $(INSTALL) -g root -o root -m 644 at.1 $(DESTDIR)$(man1dir)/
+ $(INSTALL) -m 755 batch $(DESTDIR)$(bindir)
+ $(INSTALL) -m 755 batch-job $(DESTDIR)$(atdatadir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man8dir)

View File

@ -3,7 +3,7 @@
Summary: Job spooling tools
Name: at
Version: 3.2.5
Release: 1%{?dist}
Release: 2%{?dist}
# http://packages.debian.org/changelogs/pool/main/a/at/current/copyright
# + install-sh is MIT license with changes under Public Domain
License: GPLv3+ and GPLv2+ and ISC and MIT and Public Domain
@ -88,6 +88,7 @@ make install \
DESTDIR=%{buildroot} \
sbindir=%{_prefix}/sbin \
bindir=%{_bindir} \
datadir=%{_datadir} \
prefix=%{_prefix} \
exec_prefix=%{_prefix} \
docdir=%{_prefix}/doc \
@ -159,9 +160,14 @@ chown root:root %{_localstatedir}/spool/at/.SEQ
%{_bindir}/atrm
%{_bindir}/atq
%attr(4755,root,root) %{_bindir}/at
%{_datadir}/at/batch-job
%attr(0644,root,root) /%{_unitdir}/atd.service
%changelog
* Tue Mar 08 2022 Ondřej Pohořelský <opohorel@redhat.com> - 3.2.5-2
- Add mising directory and batch-job script into at-3.2.5-make.patch
- Defined datadir in %%install section and listed batch-job in %%files section
* Tue Mar 01 2022 Ondřej Pohořelský <opohorel@redhat.com> - 3.2.5-1
- Update to new upstream release
- Removed at-3.1.14-usePOSIXtimers.patch and at-3.2.23-coverity-fix.patch, because