- minor spec changes
This commit is contained in:
parent
d5b20001b9
commit
441f35422d
12
gsl.spec
12
gsl.spec
@ -1,7 +1,7 @@
|
||||
Summary: The GNU Scientific Library for numerical analysis
|
||||
Name: gsl
|
||||
Version: 1.10
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
URL: http://www.gnu.org/software/gsl/
|
||||
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
||||
Patch0: gsl-1.10-lib64.patch
|
||||
@ -55,7 +55,6 @@ make install DESTDIR=$RPM_BUILD_ROOT install='install -p'
|
||||
# remove unpackaged files from the buildroot
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
||||
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@ -63,11 +62,11 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/gsl-ref.info.gz %{_infodir}/dir || :
|
||||
/sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
|
||||
%preun devel
|
||||
if [ "$1" = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gsl-ref.info.gz %{_infodir}/dir || :
|
||||
/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%clean
|
||||
@ -84,8 +83,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_bindir}/gsl-config*
|
||||
%dir %{_datadir}/aclocal
|
||||
%{_datadir}/aclocal/*
|
||||
%{_datadir}/aclocal
|
||||
%{_includedir}/*
|
||||
%{_infodir}/*info*
|
||||
%{_libdir}/*.so
|
||||
@ -97,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Fri Oct 26 2007 Ivana Varekova <varekova@redhat.com> - 1.10-6
|
||||
- minor spec changes
|
||||
|
||||
* Thu Oct 25 2007 Ivana Varekova <varekova@redhat.com> - 1.10-5
|
||||
- minor spec changes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user