SHA256
1
0
forked from pool/prctl

Accepting request 1148770 from utilities

- Use %patch -P N instead of deprecated %patchN.
- Move license to %license section

OBS-URL: https://build.opensuse.org/request/show/1148770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/prctl?expand=0&rev=22
This commit is contained in:
Ana Guerrero 2024-02-23 15:40:27 +00:00 committed by Git OBS Bridge
commit 411b698d70
2 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 21 15:10:54 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %patch -P N instead of deprecated %patchN.
- Move license to %license section
-------------------------------------------------------------------
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
@ -48,7 +48,8 @@ make DESTDIR=%{buildroot} install
%files
%defattr(-, root, root)
%doc COPYING ChangeLog
%doc ChangeLog
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*