From 15cd8d32217b0d4518fdf2264f37ff9bf654e831 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Feb 11 2015 13:22:39 +0000 Subject: Rebuild (libimobiledevice), Use %%license --- diff --git a/libgpod.spec b/libgpod.spec index accf43f..9e1f7d9 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -15,7 +15,7 @@ Summary: Library to access the contents of an iPod Name: libgpod Version: 0.8.3 -Release: 7%{?dist} +Release: 8%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtkpod.org/libgpod.html @@ -165,11 +165,10 @@ echo "D /var/run/%{name} 0755 root root -" > \ %files -f %{name}.lang -%defattr(-, root, root, 0755) -%doc AUTHORS ChangeLog COPYING NEWS README* -%if 0%{?fedora} >= 15 +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc AUTHORS ChangeLog NEWS README* %config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf -%endif %{_bindir}/* %{_libdir}/*.so.* %dir %{_localstatedir}/run/%{name} @@ -179,7 +178,6 @@ echo "D /var/run/%{name} 0755 root root -" > \ %dir %{_libdir}/libgpod/ %files devel -%defattr(-, root, root, 0755) %{_includedir}/gpod-1.0/ %{_libdir}/pkgconfig/%{name}-1.0.pc %exclude %{_libdir}/*.a @@ -188,12 +186,10 @@ echo "D /var/run/%{name} 0755 root root -" > \ %files doc -%defattr(-, root, root, 0755) %{_datadir}/gtk-doc %files -n python-gpod -%defattr(-, root, root, 0755) %doc COPYING bindings/python/README bindings/python/examples %{python_sitearch}/gpod %exclude %{python_sitearch}/gpod/*.la @@ -201,16 +197,18 @@ echo "D /var/run/%{name} 0755 root root -" > \ %if %{with_mono} %files sharp -%defattr(-, root, root, 0755) %{_libdir}/%{name}/%{name}-sharp* %files sharp-devel -%defattr(-, root, root, 0755) %{_libdir}/pkgconfig/%{name}-sharp.pc %endif %changelog +* Wed Feb 11 2015 Peter Robinson 0.8.3-8 +- Rebuild (libimobiledevice) +- Use %%license + * Sun Nov 16 2014 Dan HorĂ¡k - 0.8.3-7 - switch to mono_arches