From fc985735ef4eb416d7e2dbbf89887004a810aaa5 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 8 Feb 2015 09:15:53 +0000 Subject: [PATCH] Update to 1.2, Use %%license --- libftdi.spec | 12 +++++++++--- sources | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/libftdi.spec b/libftdi.spec index bb8cfe5..6d9905b 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: 1.1 -Release: 5%{?dist} +Version: 1.2 +Release: 1%{?dist} Summary: Library to program and control the FTDI USB controller Group: System Environment/Libraries @@ -104,7 +104,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/cmake* %files -%doc AUTHORS ChangeLog COPYING.LIB README +%{!?_licensedir:%global license %%doc} +%license COPYING.LIB +%doc AUTHORS ChangeLog README %{_libdir}/libftdi1.so.2* /lib/udev/rules.d/69-libftdi.rules @@ -136,6 +138,10 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/cmake* %postun c++ -p /sbin/ldconfig %changelog +* Sun Feb 8 2015 Peter Robinson 1.2-1 +- Update to 1.2 +- Use %%license + * Tue Jan 27 2015 Petr Machata - 1.1-5 - Rebuild for boost 1.57.0 diff --git a/sources b/sources index cfc95f7..2e89832 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b79a6356978aa8e69f8eecc3a720ff79 libftdi1-1.1.tar.bz2 +89dff802d89c4c0d55d8b4665fd52d0b libftdi1-1.2.tar.bz2