- Modernise spec file

- Install license file

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/patchelf?expand=0&rev=15
This commit is contained in:
Martin Pluskal 2018-11-15 12:42:40 +00:00 committed by Git OBS Bridge
parent c12acf4f5f
commit e07ed3147f
2 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 15 12:41:52 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Modernise spec file
- Install license file
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 1 22:53:20 UTC 2016 - dvaleev@suse.com Fri Apr 1 22:53:20 UTC 2016 - dvaleev@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package patchelf # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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: patchelf
Version: 0.9 Version: 0.9
Release: 0 Release: 0
Summary: A utility for patching ELF binaries Summary: A utility for patching ELF binaries
License: GPL-3.0 License: GPL-3.0-only
Group: Development/Libraries/C and C++ 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 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++ BuildRequires: gcc-c++
@ -44,13 +44,13 @@ make %{?_smp_mflags}
make check make check
%install %install
make %{?_smp_mflags} DESTDIR=%{buildroot} install %make_install
rm %{buildroot}%{_datadir}/doc/patchelf/README rm %{buildroot}%{_datadir}/doc/patchelf/README
%files %files
%defattr(-,root,root)
%doc README %doc README
%license COPYING
%{_bindir}/patchelf %{_bindir}/patchelf
%{_mandir}/man1/patchelf.1%{ext_man} %{_mandir}/man1/patchelf.1%{?ext_man}
%changelog %changelog