diff --git a/csindex.changes b/csindex.changes index 65c7cb9..5fe6dc4 100644 --- a/csindex.changes +++ b/csindex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 11:06:50 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Mon Nov 6 15:56:16 UTC 2023 - Dominique Leuenberger diff --git a/csindex.spec b/csindex.spec index f9d2f0a..c568242 100644 --- a/csindex.spec +++ b/csindex.spec @@ -34,9 +34,9 @@ Usage: csindex -z il2 file.idx Creates file.ind - a sorted index file. Uses the ISO 8859-2 encoding. %prep -%setup +%autosetup -p0 + install -m 644 %{SOURCE1} . -%patch0 %build make CC="gcc $RPM_OPT_FLAGS" %{?_smp_mflags}