- remove the static subpackage
This commit is contained in:
parent
4343bcffbd
commit
8d7a69fcd4
20
gsl.spec
20
gsl.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The GNU Scientific Library for numerical analysis
|
Summary: The GNU Scientific Library for numerical analysis
|
||||||
Name: gsl
|
Name: gsl
|
||||||
Version: 1.13
|
Version: 1.13
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://www.gnu.org/software/gsl/
|
URL: http://www.gnu.org/software/gsl/
|
||||||
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
||||||
Patch0: gsl-1.10-lib64.patch
|
Patch0: gsl-1.10-lib64.patch
|
||||||
@ -29,14 +29,6 @@ Requires: pkgconfig, automake
|
|||||||
The gsl-devel package contains the header files necessary for
|
The gsl-devel package contains the header files necessary for
|
||||||
developing programs using the GSL (GNU Scientific Library).
|
developing programs using the GSL (GNU Scientific Library).
|
||||||
|
|
||||||
%package static
|
|
||||||
Summary: Static libraries of the GSL package
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
|
||||||
|
|
||||||
%description static
|
|
||||||
The gsl-static package includes static libraries of GSL.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .lib64
|
%patch0 -p1 -b .lib64
|
||||||
@ -57,6 +49,8 @@ make install DESTDIR=$RPM_BUILD_ROOT install='install -p'
|
|||||||
# remove unpackaged files from the buildroot
|
# remove unpackaged files from the buildroot
|
||||||
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
# remove static libraries
|
||||||
|
rm -r $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -98,12 +92,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/gsl-config.1*
|
%{_mandir}/man1/gsl-config.1*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%files static
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{_libdir}/*.a
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 3 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.13-2
|
||||||
|
- remove the static subpackage
|
||||||
|
|
||||||
* Tue Sep 15 2009 Ivana Varekova <varekova@redhat.com> - 1.13-1
|
* Tue Sep 15 2009 Ivana Varekova <varekova@redhat.com> - 1.13-1
|
||||||
- update to 1.13
|
- update to 1.13
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user