SHA256
1
0
forked from pool/prctl

- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/package/show/utilities/prctl?expand=0&rev=9
This commit is contained in:
Michael Vetter 2024-02-21 15:11:09 +00:00 committed by Git OBS Bridge
parent e83dc3e1d6
commit f40846ef07
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 15:10:54 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Sun Aug 2 17:24:37 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package prctl
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 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: prctl
Version: 1.6
Release: 0
Summary: A utility to perform process operations
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Monitoring
Url: http://sourceforge.net/projects/prctl
URL: http://sourceforge.net/projects/prctl
Source0: http://downloads.sourceforge.net/project/prctl/prctl/%{version}/prctl-%{version}.tar.gz
Source1: COPYING
Patch0: prctl-1.5-Makefile.patch
@ -36,8 +36,8 @@ the runtime environment.
%prep
%setup -q
cp %{SOURCE1} .
%patch0 -p1 -b .makefile
%patch1 -b .warnings
%patch -P 0 -p1 -b .makefile
%patch -P 1 -b .warnings
%build
%configure