[jazzy] introduce license macro

gil gil at fedoraproject.org
Fri Feb 6 15:45:23 UTC 2015


commit c344a56b41230aaef88392b273709377bca32f8e
Author: gil <puntogil at libero.it>
Date:   Fri Feb 6 16:45:09 2015 +0100

    introduce license macro

 jazzy.spec |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/jazzy.spec b/jazzy.spec
index 1477436..7776ef4 100644
--- a/jazzy.spec
+++ b/jazzy.spec
@@ -1,6 +1,6 @@
 Name:           jazzy
 Version:        0.5.2
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Java-based spell checker
 License:        LGPLv2+
 URL:            http://sourceforge.net/projects/jazzy
@@ -20,7 +20,6 @@ BuildArch:      noarch
 Jazzy is a pure Java library implementing a spell checking algorithm
 similar to aspell. It may be used to spell check a variety of sources.
 
-
 %package javadoc
 Summary:        Javadoc for %{name}
 Requires:       %{name} = %{version}-%{release}
@@ -28,7 +27,6 @@ Requires:       %{name} = %{version}-%{release}
 %description javadoc
 Java API Documentation for %{name}.
 
-
 %prep
 %setup -q -c
 
@@ -65,19 +63,17 @@ cp -a javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
 %files
 %{_javadir}/%{name}
-%doc CONTRIBUTORS.txt example2.txt LICENSE.txt README.txt
-
-# Workaround for RPM bug #646523 - can't change symlink to directory
-# TODO: Remove this in F-22
-%pretrans javadoc -p <lua>
-dir = "%{_javadocdir}/%{name}"
-dummy = posix.readlink(dir) and os.remove(dir)
+%doc CONTRIBUTORS.txt example2.txt README.txt
+%license LICENSE.txt
 
 %files javadoc
 %{_javadocdir}/%{name}
-%doc LICENSE.txt
+%license LICENSE.txt
 
 %changelog
+* Fri Feb 06 2015 gil cattaneo <puntogil at libero.it> 0.5.2-10
+- introduce license macro
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.2-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list