From c22c55748d5edb1b31de39fffe09687283ed1f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 29 Jun 2023 15:21:44 +0200 Subject: [PATCH] Modernize a spec file --- time.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/time.spec b/time.spec index b09498f..beb1f9d 100644 --- a/time.spec +++ b/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 # printf '%{version}\n' > .tarball-version