[tubo] %%license just on Fedora.

Antonio Trande sagitter at fedoraproject.org
Mon Dec 15 20:37:57 UTC 2014


commit bd9006021c346641789bc2a83bde74a7351b1f03
Author: sagitter <sagitterATfedoraprojectDOTorg>
Date:   Mon Dec 15 21:38:06 2014 +0100

    %%license just on Fedora.

 tubo.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/tubo.spec b/tubo.spec
index 66e3c7a..d551d12 100644
--- a/tubo.spec
+++ b/tubo.spec
@@ -1,7 +1,7 @@
 Name:  tubo
 Summary:  Library to thread process std-in/std-err/std-out from fork() child
 Version:  5.0.14
-Release:  4%{?dist}
+Release:  5%{?dist}
 License:  GPLv3+
 URL:      http://xffm.org/libtubo.html
 Source0:  http://sourceforge.net/projects/xffm/files/lib%{name}/lib%{name}0-%{version}.tar.gz
@@ -54,7 +54,11 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
 
 %files
 %doc README ChangeLog AUTHORS
+%if 0%{?fedora}
 %license COPYING
+%else
+%doc COPYING
+%endif
 %{_bindir}/tuboexec
 %{_libdir}/lib%{name}.so.*
 %{_mandir}/man1/tuboexec*
@@ -65,14 +69,21 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
 %{_libdir}/lib%{name}.so
 
 %files doc
+%if 0%{?fedora}
 %license COPYING
+%else
+%doc COPYING
+%endif
 %dir %{_datadir}/gtk-doc
 %dir %{_datadir}/gtk-doc/html
 %{_datadir}/gtk-doc/html/libtubo/
 
 
 %changelog
-* Mon Dec 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.0.14-4
+* Mon Dec 15 2014 Antonio Trande <sagitter at fedoraproject.org> - 5.0.14-5
+- %%license just on Fedora
+
+* Mon Dec 15 2014 Antonio Trande <sagitter at fedoraproject.org> - 5.0.14-4
 - Built a doc sub-package
 - Added %%license tag
 


More information about the scm-commits mailing list