Accepting request 726403 from home:jengelh:branches:Base:System

- Modernize specfile and metadata.

trim trailing white spaces

OBS-URL: https://build.opensuse.org/request/show/726403
OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=136
This commit is contained in:
Richard Biener 2019-09-03 08:59:25 +00:00 committed by Git OBS Bridge
parent f89e144d9c
commit 07dede5fbe
2 changed files with 38 additions and 44 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 27 07:44:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile and metadata.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 15 08:05:28 UTC 2019 - Martin Liška <mliska@suse.cz> Thu Aug 15 08:05:28 UTC 2019 - Martin Liška <mliska@suse.cz>
@ -926,4 +931,3 @@ Mon May 21 12:19:46 CEST 2007 - tiwai@suse.de
- initial packages, built from elfutils-0.127. - initial packages, built from elfutils-0.127.
A problematic file regarding the license is removed from the A problematic file regarding the license is removed from the
tarball. tarball.

View File

@ -22,7 +22,7 @@ Release: 0
Summary: Higher-level library to access ELF files Summary: Higher-level library to access ELF files
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Tools/Building Group: Development/Tools/Building
Url: http://fedorahosted.org/elfutils/ URL: https://sourceware.org/elfutils/
#Git-Clone: git://sourceware.org/git/elfutils #Git-Clone: git://sourceware.org/git/elfutils
Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source: https://fedorahosted.org/releases/e/l/%{name}/%{version}/%{name}-%{version}.tar.bz2
@ -33,7 +33,6 @@ Source3: %{name}.changes
Source5: %{name}.keyring Source5: %{name}.keyring
Patch1: disable-tests-with-ptrace.patch Patch1: disable-tests-with-ptrace.patch
Patch2: cfi-fix.patch Patch2: cfi-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
@ -163,10 +162,10 @@ chmod a+x tests/run*.sh
%make_build %make_build
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %make_install
# remove unneeded files # remove unneeded files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f %{buildroot}/%{_libdir}/*.la
ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf* ls -lR %{buildroot}/%{_libdir}/libelf*
%find_lang %{name} %find_lang %{name}
%post -n libasm1 -p /sbin/ldconfig %post -n libasm1 -p /sbin/ldconfig
@ -185,40 +184,33 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
%make_build check %make_build check
%files %files
%defattr(-,root,root)
%license COPYING %license COPYING
%doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO %doc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
%{_bindir}/* %{_bindir}/*
%files -n libasm1 %files -n libasm1
%defattr(-,root,root)
%{_libdir}/libasm.so.* %{_libdir}/libasm.so.*
%{_libdir}/libasm-%{version}.so %{_libdir}/libasm-%{version}.so
%files -n libasm-devel %files -n libasm-devel
%defattr(-,root,root)
%{_libdir}/libasm.so %{_libdir}/libasm.so
%{_libdir}/libasm.a %{_libdir}/libasm.a
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/libasm.h %{_includedir}/elfutils/libasm.h
%files -n libebl-plugins %files -n libebl-plugins
%defattr(-,root,root)
%{_libdir}/elfutils %{_libdir}/elfutils
%files -n libebl-devel %files -n libebl-devel
%defattr(-,root,root)
%{_libdir}/libebl.a %{_libdir}/libebl.a
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/libebl.h %{_includedir}/elfutils/libebl.h
%files -n libelf1 %files -n libelf1
%defattr(-,root,root)
%{_libdir}/libelf.so.* %{_libdir}/libelf.so.*
%{_libdir}/libelf-%{version}.so %{_libdir}/libelf-%{version}.so
%files -n libelf-devel %files -n libelf-devel
%defattr(-,root,root)
%{_libdir}/libelf.so %{_libdir}/libelf.so
%{_libdir}/libelf.a %{_libdir}/libelf.a
%{_includedir}/libelf.h %{_includedir}/libelf.h
@ -230,12 +222,10 @@ ls -lR $RPM_BUILD_ROOT%{_libdir}/libelf*
%{_libdir}/pkgconfig/libelf.pc %{_libdir}/pkgconfig/libelf.pc
%files -n libdw1 %files -n libdw1
%defattr(-,root,root)
%{_libdir}/libdw.so.* %{_libdir}/libdw.so.*
%{_libdir}/libdw-%{version}.so %{_libdir}/libdw-%{version}.so
%files -n libdw-devel %files -n libdw-devel
%defattr(-,root,root)
%{_libdir}/libdw.a %{_libdir}/libdw.a
%{_libdir}/libdw.so %{_libdir}/libdw.so
%{_includedir}/dwarf.h %{_includedir}/dwarf.h