update specs for 9.1
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
#TARBALL: https://sourceware.org/ftp/elfutils/0.176/elfutils-0.176.tar.bz2
|
||||
#MD5SUM: 077e4f49320cad82bf17a997068b1db9;SOURCES/elfutils-0.176.tar.bz2
|
||||
#TARBALL: https://sourceware.org/ftp/elfutils/0.178/elfutils-0.178.tar.bz2
|
||||
#MD5SUM: 5480d0b7174446aba13a6adde107287f;SOURCES/elfutils-0.178.tar.bz2
|
||||
#-----------------------------------------------------------------------------
|
||||
Summary: The elfutils package contains a set of utilities and libraries for handling ELF files
|
||||
Name: libelf
|
||||
Version: 0.176
|
||||
Version: 0.178
|
||||
Release: 1
|
||||
License: GPLv3
|
||||
URL: https://sourceware.org/ftp/elfutils
|
||||
Group: LFS/BASE
|
||||
Vendor: Elizabeth
|
||||
Source0: elfutils-%{version}.tar.bz2
|
||||
Source0: https://sourceware.org/ftp/elfutils/%{version}/elfutils-%{version}.tar.bz2
|
||||
Requires: filesystem
|
||||
%description
|
||||
The elfutils package contains a set of utilities and libraries for handling ELF
|
||||
@@ -22,25 +21,25 @@ The elfutils package contains a set of utilities and libraries for handling ELF
|
||||
--prefix=%{_prefix}
|
||||
make %{?_smp_mflags}
|
||||
%install
|
||||
# make DESTDIR=%{buildroot} install
|
||||
make DESTDIR=%{buildroot} -C libelf install
|
||||
install -vDm644 config/libelf.pc %{buildroot}%{_libdir}/pkgconfig/libelf.pc
|
||||
install -vDm644 config/libelf.pc %{buildroot}/%{_libdir}/pkgconfig/libelf.pc
|
||||
rm %{buildroot}/%{_libdir}/libelf.a
|
||||
#-----------------------------------------------------------------------------
|
||||
# Copy license/copying file
|
||||
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
|
||||
#-----------------------------------------------------------------------------
|
||||
# Create file list
|
||||
# rm %{buildroot}%{_infodir}/dir
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
|
||||
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
|
||||
sed -i '/man\/man/d' filelist.rpm
|
||||
sed -i '/\/usr\/share\/info/d' filelist.rpm
|
||||
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
|
||||
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
|
||||
sed -i '/man\/man/d' filelist.list
|
||||
sed -i '/\/usr\/share\/info/d' filelist.list
|
||||
#-----------------------------------------------------------------------------
|
||||
%files -f filelist.rpm
|
||||
%defattr(-,root,root)
|
||||
%files -f filelist.list
|
||||
%defattr(-,root,root)
|
||||
#-----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.178-1
|
||||
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 0.176-1
|
||||
- Update for LFS-8.4
|
||||
* Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 0.170-1
|
||||
|
Reference in New Issue
Block a user