Move files out of /lib to /usr/lib
This commit is contained in:
parent
94440f92e3
commit
9a1c046812
@ -1,7 +1,7 @@
|
|||||||
Summary: Utilities for managing the XFS filesystem
|
Summary: Utilities for managing the XFS filesystem
|
||||||
Name: xfsprogs
|
Name: xfsprogs
|
||||||
Version: 3.1.8
|
Version: 3.1.8
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
|
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
|
||||||
# in source, with no mention of version.
|
# in source, with no mention of version.
|
||||||
# doc/COPYING file specifies what is GPL and what is LGPL
|
# doc/COPYING file specifies what is GPL and what is LGPL
|
||||||
@ -75,14 +75,12 @@ make V=1 %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make V=1 DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa PKG_ROOT_SBIN_DIR=%{_sbindir}
|
make V=1 DIST_ROOT=$RPM_BUILD_ROOT install install-dev install-qa \
|
||||||
|
PKG_ROOT_SBIN_DIR=%{_sbindir} PKG_ROOT_LIB_DIR=%{_libdir}
|
||||||
|
|
||||||
# nuke .la files, etc
|
# nuke .la files, etc
|
||||||
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
|
rm -f $RPM_BUILD_ROOT/{%{_lib}/*.{la,a,so},%{_libdir}/*.{la,a}}
|
||||||
# fix up symlink to be correct
|
chmod 0755 $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
|
|
||||||
chmod 0755 $RPM_BUILD_ROOT/%{_lib}/libhandle.so.*.*.*
|
|
||||||
|
|
||||||
# remove non-versioned docs location
|
# remove non-versioned docs location
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
|
||||||
@ -108,7 +106,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/CHANGES doc/COPYING doc/CREDITS README
|
%doc doc/CHANGES doc/COPYING doc/CREDITS README
|
||||||
/%{_lib}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
@ -185,8 +183,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/xfs/xfs_types.h
|
%{_includedir}/xfs/xfs_types.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 28 2012 Eric Sandeen <sandeen@redhat.com> 3.1.8-3
|
||||||
|
- Move files out of /lib64 to /usr/lib64
|
||||||
|
|
||||||
* Wed Mar 28 2012 Eric Sandeen <sandeen@redhat.com> 3.1.8-2
|
* Wed Mar 28 2012 Eric Sandeen <sandeen@redhat.com> 3.1.8-2
|
||||||
- New upstream release.
|
- Move files out of /sbin to /usr/sbin
|
||||||
|
|
||||||
* Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> 3.1.8-1
|
* Fri Mar 23 2012 Eric Sandeen <sandeen@redhat.com> 3.1.8-1
|
||||||
- New upstream release.
|
- New upstream release.
|
||||||
|
Loading…
Reference in New Issue
Block a user