[libgpod] Rebuild (libimobiledevice), Use %%license

Peter Robinson pbrobinson at fedoraproject.org
Wed Feb 11 13:22:56 UTC 2015


commit 15cd8d32217b0d4518fdf2264f37ff9bf654e831
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Feb 11 13:22:39 2015 +0000

    Rebuild (libimobiledevice), Use %%license

 libgpod.spec |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)
---
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 <pbrobinson at fedoraproject.org> 0.8.3-8
+- Rebuild (libimobiledevice)
+- Use %%license
+
 * Sun Nov 16 2014 Dan HorĂ¡k <dan[at]danny.cz> - 0.8.3-7
 - switch to mono_arches
 


More information about the scm-commits mailing list