- allow excludedocs to work
This commit is contained in:
parent
8262771ec4
commit
130c1fe4f3
7
gmp.spec
7
gmp.spec
@ -9,7 +9,7 @@
|
|||||||
Summary: A GNU arbitrary precision library
|
Summary: A GNU arbitrary precision library
|
||||||
Name: gmp
|
Name: gmp
|
||||||
Version: 4.1.4
|
Version: 4.1.4
|
||||||
Release: 12.3
|
Release: 13
|
||||||
URL: http://www.swox.com/gmp/
|
URL: http://www.swox.com/gmp/
|
||||||
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
||||||
Source1: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
|
Source1: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
|
||||||
@ -175,11 +175,13 @@ cd ..
|
|||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
/sbin/install-info %{_infodir}/gmp.info.gz %{_infodir}/dir
|
/sbin/install-info %{_infodir}/gmp.info.gz %{_infodir}/dir
|
||||||
|
exit 0
|
||||||
|
|
||||||
%preun devel
|
%preun devel
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/gmp.info.gz %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/gmp.info.gz %{_infodir}/dir
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
@ -208,6 +210,9 @@ fi
|
|||||||
%{_infodir}/mpfr.info*
|
%{_infodir}/mpfr.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 05 2007 Florian La Roche <laroche@redhat.com> 4.1.4-13
|
||||||
|
- don't fail scripts to e.g. allow excludedocs installs
|
||||||
|
|
||||||
* Tue Apr 24 2007 Karsten Hopp <karsten@redhat.com> 4.1.4-12.3
|
* Tue Apr 24 2007 Karsten Hopp <karsten@redhat.com> 4.1.4-12.3
|
||||||
- fix library permissions
|
- fix library permissions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user