* Fri Feb 12 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-5

- --enable-static=no doesn't work; just nuke static libs
This commit is contained in:
Eric Sandeen 2010-02-13 03:08:01 +00:00
parent 2d0cf5525e
commit 8ed7cf78f2
1 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Summary: Utilities for managing the XFS filesystem
Name: xfsprogs
Version: 3.1.1
Release: 4%{?dist}
Release: 5%{?dist}
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
# in source, with no mention of version.
# doc/COPYING file specifies what is GPL and what is LGPL
@ -73,8 +73,7 @@ in building or running the xfstests QA suite.
export tagname=CC DEBUG=-DNDEBUG
%configure \
--enable-readline=yes \
--enable-blkid=yes \
--enable-static=no
--enable-blkid=yes
# Kill rpaths
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -84,10 +83,10 @@ make V=1 %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa
make V=1 DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa
# nuke .la files, etc
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.la}
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
# fix up symlink to be correct
rm -f $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
ln -s ../../%{_lib}/libhandle.so.1 $RPM_BUILD_ROOT/%{_libdir}/libhandle.so
@ -194,6 +193,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/xfs/xfs_types.h
%changelog
* Fri Feb 12 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-5
- --enable-static=no doesn't work; just nuke static libs
* Fri Feb 12 2010 Eric Sandeen <sandeen@redhat.com> 3.1.1-4
- Fix up -devel package descriptions