[GtkAda] Tagged the license file as such.
Björn Persson
rombobeorn at fedoraproject.org
Mon Mar 16 22:59:37 UTC 2015
commit 9a29f9119b9b0191051dfa2adc7637eb024c2a66
Author: Björn Persson <Bjorn at Rombobjörn.se>
Date: Mon Mar 16 23:58:51 2015 +0100
Tagged the license file as such.
GtkAda.spec | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/GtkAda.spec b/GtkAda.spec
index 3f3d331..50d3b11 100644
--- a/GtkAda.spec
+++ b/GtkAda.spec
@@ -1,6 +1,6 @@
Name: GtkAda
Version: 2.24.2
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: GTKada 2, an Ada binding to GTK+ 2
Summary(sv): GTKada 2, en adabindning till GTK+ 2
Group: System Environment/Libraries
@@ -222,7 +222,9 @@ rm %{buildroot}%{_datadir}/examples/gtkada/testgtk/testgtk %{buildroot}%{_datadi
mv --no-target-directory %{buildroot}%{_datadir}/examples/gtkada %{buildroot}%{_docdir}/gtkada/examples
# Include these documentation files.
-install --mode=u=rw,go=r,a-s --preserve-timestamps AUTHORS COPYING README features known-problems %{buildroot}%{_docdir}/gtkada
+install --mode=u=rw,go=r,a-s --preserve-timestamps AUTHORS README features known-problems %{buildroot}%{_docdir}/gtkada
+mkdir --parents %{buildroot}%{_licensedir}/gtkada
+install --mode=u=rw,go=r,a-s --preserve-timestamps COPYING %{buildroot}%{_licensedir}/gtkada
# There is a COPYING3 in the 2.24.2 tarball, but the source files' headers say
# version 2 or later, so COPYING3 is left out of the package for now.
@@ -259,9 +261,9 @@ exit 0
%files
%{_libdir}/libgtkada-*.so.*
+%license %{_licensedir}/gtkada
%dir %{_docdir}/gtkada
%{_docdir}/gtkada/AUTHORS
-%{_docdir}/gtkada/COPYING
%{_docdir}/gtkada/README
@@ -285,11 +287,11 @@ exit 0
%files doc
# features and known-problems belong with the documentation for developers.
-# The license, the list of authors and the directory need to be replicated in
+# The license, the list of authors and the directories need to be replicated in
# the doc subpackage as it doesn't depend on the main package.
+%license %{_licensedir}/gtkada
%dir %{_docdir}/gtkada
%{_docdir}/gtkada/AUTHORS
-%{_docdir}/gtkada/COPYING
%{_docdir}/gtkada/features
%{_docdir}/gtkada/known-problems
%{_docdir}/gtkada/gtkada_ug
@@ -300,6 +302,9 @@ exit 0
%changelog
+* Mon Mar 16 2015 Björn Persson <bjorn at rombobjörn.se> - 2.24.2-15
+- Tagged the license file as such.
+
* Mon Mar 16 2015 Than Ngo <than at redhat.com> - 2.24.2-14
- bump release and rebuild so that koji-shadow can rebuild it
against new gcc on secondary arch
More information about the scm-commits
mailing list