disable static in recode devel

Zoltan Kota s.mako at gmx.net
Fri Aug 26 10:06:45 UTC 2005


Hi,

Following the instructions in the wiki, I disabled static libs 
and remove *.la in the devel branch. 
Could you please confirm if it's ok before I request a rebuild?!

Zoltan
 
> Index: recode.spec
> ===================================================================
...
>  
>  %build
> -%configure
> +%configure --disable-static
>  make %{?_smp_mflags}
>  
>  %install
> @@ -50,6 +55,10 @@
>  # remove unpackaged file from the buildroot
>  rm -f $RPM_BUILD_ROOT%{_infodir}/dir
>  
> +# remove libtool archives
> +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
> +
> +
>  %post
>  /sbin/ldconfig
>  /sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode).                        Conversion between character sets and surfaces."
> @@ -75,12 +84,14 @@
>  
>  %files devel
>  %defattr(-,root,root)
> -%{_libdir}/*.a
> -%{_libdir}/*.la
>  %{_libdir}/*.so
>  %{_includedir}/*




More information about the fedora-extras-list mailing list