diff --git a/libusbx.spec b/libusbx.spec index 1f39d4a..9b133ff 100644 --- a/libusbx.spec +++ b/libusbx.spec @@ -1,7 +1,7 @@ Summary: Library for accessing USB devices Name: libusbx Version: 1.0.19 -Release: 2%{?dist} +Release: 3%{?dist} # upstream libusbx has merged back with libusb and is now called libusb again # but we already have a libusb package for the old libusb-compat-0.1, so # lets stick with the libusbx name for now @@ -70,7 +70,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la %files -%doc AUTHORS COPYING README ChangeLog +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS README ChangeLog %{_libdir}/*.so.* %files devel @@ -83,6 +85,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la %changelog +* Tue Jun 16 2015 Peter Robinson 1.0.19-3 +- Use %%license + * Sun Aug 17 2014 Fedora Release Engineering - 1.0.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild