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
1 changed files with 5 additions and 4 deletions

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)")}
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 <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
- add patch to fix typo in python bindings
- drop multilib patch0 fixed upstream