Modernize a spec file
This commit is contained in:
parent
03e009c1bd
commit
c22c55748d
10
time.spec
10
time.spec
@ -78,13 +78,13 @@ the results.
|
||||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch -P0 -p1
|
||||
%patch -P1 -p1
|
||||
%patch -P2 -p1
|
||||
# Set time stamp stored in an info page to the latest patch
|
||||
touch -d "$(sed -n -e '/^Date: /{s/^[^:]*: //;p}' %{PATCH2})" doc/time.texi
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch -P3 -p1
|
||||
%patch -P4 -p1
|
||||
# Correct version VERSION flag for doc/time.texi
|
||||
# <https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html>
|
||||
printf '%{version}\n' > .tarball-version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user