Accepting request 922315 from home:dimstar:Factory

- Do not query %{verbose} to add V=1 or not: verbose changed
  semantics between rpm versions and there is currently no variant
  supporting rpm < 4.17 and rpm >= 4.17.

OBS-URL: https://build.opensuse.org/request/show/922315
OBS-URL: https://build.opensuse.org/package/show/devel:tools/patch?expand=0&rev=63
This commit is contained in:
Jean Delvare 2021-09-30 13:02:32 +00:00 committed by Git OBS Bridge
parent c90ceb95d6
commit fe014dfd31
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 29 10:33:36 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not query %{verbose} to add V=1 or not: verbose changed
semantics between rpm versions and there is currently no variant
supporting rpm < 4.17 and rpm >= 4.17.
-------------------------------------------------------------------
Wed May 9 09:52:04 UTC 2018 - jdelvare@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package patch
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,9 +20,9 @@ Name: patch
Version: 2.7.6
Release: 0
Summary: GNU patch
License: GPL-3.0+
License: GPL-3.0-or-later
Group: Productivity/Text/Utilities
Url: http://ftp.gnu.org/gnu/patch/
URL: http://ftp.gnu.org/gnu/patch/
Source: http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz
Source2: http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz.sig
Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=patch&download=1#/patch.keyring
@ -62,13 +62,13 @@ changed files (generated by the diff command) to the original files.
%build
export CFLAGS="%{optflags} -Wall -O2 -pipe"
%configure
make %{?_smp_mflags} %{verbose:V=1};
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check %{verbose:V=1}
make %{?_smp_mflags} check
%install
make install DESTDIR=%{buildroot} %{verbose:V=1}
make install DESTDIR=%{buildroot}
%files
%doc AUTHORS NEWS README