do not package static libfiles (#556068)

This commit is contained in:
Lucian Langa 2010-01-16 15:07:22 +00:00
parent e701a6470e
commit 6123b840e4

View File

@ -1,7 +1,7 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: libftdi Name: libftdi
Version: 0.17 Version: 0.17
Release: 1%{?dist} Release: 2%{?dist}
Summary: Library to program and control the FTDI USB controller Summary: Library to program and control the FTDI USB controller
Group: System Environment/Libraries Group: System Environment/Libraries
@ -64,7 +64,7 @@ sed -i -e 's/HTML_FOOTER =/HTML_FOOTER = no_date_footer.ht
%build %build
%configure --enable-python-binding --enable-libftdipp %configure --enable-python-binding --enable-libftdipp --disable-static
cp %{SOURCE1} %{_builddir}/%{name}-%{version}/doc cp %{SOURCE1} %{_builddir}/%{name}-%{version}/doc
make %{?_smp_mflags} make %{?_smp_mflags}
@ -104,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc doc/html %doc doc/html
%{_bindir}/libftdi-config %{_bindir}/libftdi-config
%{_libdir}/libftdi.a
%{_libdir}/libftdi.so %{_libdir}/libftdi.so
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/pkgconfig/libftdi.pc %{_libdir}/pkgconfig/libftdi.pc
@ -123,7 +122,6 @@ rm -rf $RPM_BUILD_ROOT
%files c++-devel %files c++-devel
%defattr(-, root, root, -) %defattr(-, root, root, -)
%doc doc/html %doc doc/html
%{_libdir}/libftdipp.a
%{_libdir}/libftdipp.so %{_libdir}/libftdipp.so
%{_includedir}/*.hpp %{_includedir}/*.hpp
%{_libdir}/pkgconfig/libftdipp.pc %{_libdir}/pkgconfig/libftdipp.pc
@ -139,6 +137,9 @@ exit 0
%postun c++ -p /sbin/ldconfig %postun c++ -p /sbin/ldconfig
%changelog %changelog
* Sat Jan 16 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-2
- do not package static libfiles (#556068)
* Sun Jan 01 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-1 * Sun Jan 01 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-1
- add patch to fix typo in python bindings - add patch to fix typo in python bindings
- drop multilib patch0 fixed upstream - drop multilib patch0 fixed upstream