Accepting request 1149723 from home:pgajdos:m

- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1149723
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-mailstat?expand=0&rev=11
This commit is contained in:
Michael Vetter 2024-02-23 08:57:17 +00:00 committed by Git OBS Bridge
parent 03ed847a2b
commit 94186b9c86
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 23 08:41:16 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
-------------------------------------------------------------------
Mon Aug 17 11:29:10 UTC 2020 - Lars Vogdt <lars@linux-schulserver.de>

View File

@ -51,9 +51,7 @@ WARN/CRITICAl result if not.It can run on nagios server, or on remote server
via NRPE.
%prep
%setup -q -n check_mailstat_plugin_v%{version}
%patch1 -p1
%patch2 -p1
%autosetup -p1 -n check_mailstat_plugin_v%{version}
sed -i "s| ||g" README.txt
install -m0644 %{SOURCE3} .