- fix building with current rpm

This commit is contained in:
Florian La Roche 2005-09-28 20:02:10 +00:00
parent 2847bd3e59
commit e8deff2def
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
Summary: Utilities for managing the XFS filesystem. Summary: Utilities for managing the XFS filesystem.
Name: xfsprogs Name: xfsprogs
Version: 2.6.13 Version: 2.6.13
Release: 4 Release: 5
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
URL: http://oss.sgi.com/projects/xfs/ URL: http://oss.sgi.com/projects/xfs/
@ -65,8 +65,8 @@ make DIST_ROOT=$RPM_BUILD_ROOT install
make DIST_ROOT=$RPM_BUILD_ROOT install-dev make DIST_ROOT=$RPM_BUILD_ROOT install-dev
# nuke .la files, etc # nuke .la files, etc
rm -f $RPM_BUILD_ROOT/%{_lib}/*.la $RPM_BUILD_ROOT/{_lib}/*.a $RPM_BUILD_ROOT%{_lib}/*.so rm -f $RPM_BUILD_ROOT/%{_lib}/*.{la,a,so}
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# fix up symlink to be correct # fix up symlink to be correct
rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
@ -100,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Wed Sep 28 2005 Florian La Roche <laroche@redhat.com>
- fixup building with current rpm
* Wed Apr 20 2005 Dave Jones <davej@redhat.com> * Wed Apr 20 2005 Dave Jones <davej@redhat.com>
- Disable debug. (#151438) - Disable debug. (#151438)
- Rebuild with gcc4 - Rebuild with gcc4