From 6123b840e46e76db3acf086ff0aa39bb6659ce54 Mon Sep 17 00:00:00 2001 From: Lucian Langa Date: Sat, 16 Jan 2010 15:07:22 +0000 Subject: [PATCH] do not package static libfiles (#556068) --- libftdi.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libftdi.spec b/libftdi.spec index 55093ef..8fc7c8a 100644 --- a/libftdi.spec +++ b/libftdi.spec @@ -1,7 +1,7 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: libftdi Version: 0.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to program and control the FTDI USB controller Group: System Environment/Libraries @@ -64,7 +64,7 @@ sed -i -e 's/HTML_FOOTER =/HTML_FOOTER = no_date_footer.ht %build -%configure --enable-python-binding --enable-libftdipp +%configure --enable-python-binding --enable-libftdipp --disable-static cp %{SOURCE1} %{_builddir}/%{name}-%{version}/doc make %{?_smp_mflags} @@ -104,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc doc/html %{_bindir}/libftdi-config -%{_libdir}/libftdi.a %{_libdir}/libftdi.so %{_includedir}/*.h %{_libdir}/pkgconfig/libftdi.pc @@ -123,7 +122,6 @@ rm -rf $RPM_BUILD_ROOT %files c++-devel %defattr(-, root, root, -) %doc doc/html -%{_libdir}/libftdipp.a %{_libdir}/libftdipp.so %{_includedir}/*.hpp %{_libdir}/pkgconfig/libftdipp.pc @@ -139,6 +137,9 @@ exit 0 %postun c++ -p /sbin/ldconfig %changelog +* Sat Jan 16 2010 Lucian Langa - 0.17-2 +- do not package static libfiles (#556068) + * Sun Jan 01 2010 Lucian Langa - 0.17-1 - add patch to fix typo in python bindings - drop multilib patch0 fixed upstream