[dom4j] Install license file with javadoc subpackage

Hans de Goede jwrdegoede at fedoraproject.org
Wed Jun 19 08:38:58 UTC 2013


commit cdbd0ae283ad901c6c85aba02e078e9ddc5d3131
Author: Michal Srb <msrb at redhat.com>
Date:   Wed Jun 19 10:07:05 2013 +0200

    Install license file with javadoc subpackage

 dom4j.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/dom4j.spec b/dom4j.spec
index 4ab443d..fc5f81d 100644
--- a/dom4j.spec
+++ b/dom4j.spec
@@ -31,7 +31,7 @@
 Summary:        Open Source XML framework for Java
 Name:           dom4j
 Version:        1.6.1
-Release:        13%{?dist}
+Release:        14%{?dist}
 Epoch:          0
 License:        BSD
 URL:            http://www.dom4j.org/
@@ -188,6 +188,8 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %{_mavendepmapfragdir}/%{name}
 
 %files javadoc
+%dir %{_docdir}/%{name}-%{version}
+%doc %{_docdir}/%{name}-%{version}/LICENSE.txt
 %{_javadocdir}/*
 
 %files manual
@@ -198,6 +200,9 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %{_datadir}/%{name}-%{version}
 
 %changelog
+* Wed Jun 19 2013 Michal Srb <msrb at redhat.com> - 0:1.6.1-14
+- Install license file with javadoc subpackage
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:1.6.1-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list