[packages/audit] renumber patches
atler
atler at pld-linux.org
Thu Jun 1 17:34:45 CEST 2023
commit ace84936021ae7fa28508eee1cf9159b607f48ed
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jun 1 17:26:10 2023 +0200
renumber patches
audit.spec | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/audit.spec b/audit.spec
index 762a331..7ec800b 100644
--- a/audit.spec
+++ b/audit.spec
@@ -32,12 +32,12 @@ Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
Source2: %{name}d.init
Source3: %{name}d.sysconfig
Patch0: %{name}-install.patch
-Patch2: %{name}-nolibs.patch
-Patch3: %{name}-systemd-notonly.patch
-Patch5: %{name}-no-refusemanualstop.patch
-Patch7: golang-paths.patch
-Patch8: %{name}-flex-array-workaround.patch
-Patch9: %{name}-undo-flex-array.patch
+Patch1: %{name}-nolibs.patch
+Patch2: %{name}-systemd-notonly.patch
+Patch3: %{name}-no-refusemanualstop.patch
+Patch4: golang-paths.patch
+Patch5: %{name}-flex-array-workaround.patch
+Patch6: %{name}-undo-flex-array.patch
URL: http://people.redhat.com/sgrubb/audit/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.12.6
@@ -181,15 +181,15 @@ Interfejs Pythona 3.x do biblioteki libaudit.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch5 -p1
-%patch7 -p1
+%patch4 -p1
%if %{with flex_array_fix}
# workaround flexible array member (char buf[]) incompatible with swig<=4.1.1
cp /usr/include/linux/audit.h lib
-%patch8 -p1
+%patch5 -p1
%endif
%if %{without python}
@@ -227,7 +227,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir}/audit/rules.d,%{_var}/log/audit}
%if %{with flex_array_fix}
# undo include change
cd $RPM_BUILD_ROOT
-patch -p0 --no-backup-if-mismatch < %{PATCH9}
+patch -p0 --no-backup-if-mismatch < %{PATCH6}
cd -
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/audit.git/commitdiff/c7fb68218d7ae403f94217dd7fdf4e97a40b0d89
More information about the pld-cvs-commit
mailing list