From e07ed3147fe3d6ef8c46377566211ae18975d9952747dfe90098a810c4797a2a Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 15 Nov 2018 12:42:40 +0000 Subject: [PATCH] - Modernise spec file - Install license file OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/patchelf?expand=0&rev=15 --- patchelf.changes | 6 ++++++ patchelf.spec | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/patchelf.changes b/patchelf.changes index 5679abc..c5ffc91 100644 --- a/patchelf.changes +++ b/patchelf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 15 12:41:52 UTC 2018 - Martin Pluskal + +- Modernise spec file +- Install license file + ------------------------------------------------------------------- Fri Apr 1 22:53:20 UTC 2016 - dvaleev@suse.com diff --git a/patchelf.spec b/patchelf.spec index f4e5bd8..1740d44 100644 --- a/patchelf.spec +++ b/patchelf.spec @@ -1,7 +1,7 @@ # # spec file for package patchelf # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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,11 +20,11 @@ Name: patchelf Version: 0.9 Release: 0 Summary: A utility for patching ELF binaries -License: GPL-3.0 +License: GPL-3.0-only Group: Development/Libraries/C and C++ -Url: http://nixos.org/patchelf.html +URL: http://nixos.org/patchelf.html Source: http://releases.nixos.org/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2 -Patch0: no-rpath-prebuilt.patch +Patch0: no-rpath-prebuilt.patch BuildRequires: gcc-c++ %description @@ -44,13 +44,13 @@ make %{?_smp_mflags} make check %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install rm %{buildroot}%{_datadir}/doc/patchelf/README %files -%defattr(-,root,root) %doc README +%license COPYING %{_bindir}/patchelf -%{_mandir}/man1/patchelf.1%{ext_man} +%{_mandir}/man1/patchelf.1%{?ext_man} %changelog