Accepting request 1151570 from home:dimstar:rpm4.20:s

Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151570
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysstat?expand=0&rev=149
This commit is contained in:
David Anes 2024-02-27 07:43:57 +00:00 committed by Git OBS Bridge
parent e4b3baa17d
commit 40592b751a
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 13:34:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Tue Jul 18 08:31:18 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -73,14 +73,14 @@ from a sysstat package.
%prep
%setup -q
%patch0 -p1
%patch2 -p1
%patch3 -p1
%patch -P 0 -p1
%patch -P 2 -p1
%patch -P 3 -p1
cp %{SOURCE1} .
# remove date and time from objects
find ./ -name \*.c -exec sed -i -e 's: " compiled " __DATE__ " " __TIME__::g' {} \;
%patch4 -p1
%patch5 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%build
export conf_dir="%{_sysconfdir}/sysstat"