[dom4j] Use .mfiles generated during build

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu May 29 09:08:47 UTC 2014


commit 7d9634d96062e949a1ebdbd77e5387573e0a9e52
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu May 29 11:08:42 2014 +0200

    Use .mfiles generated during build

 dom4j.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/dom4j.spec b/dom4j.spec
index edb99aa..7a73997 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:        20%{?dist}
+Release:        21%{?dist}
 Epoch:          0
 License:        BSD
 URL:            http://www.dom4j.org/
@@ -189,12 +189,9 @@ install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
 install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %add_maven_depmap -a "org.jvnet.hudson.dom4j:dom4j"
 
-%files
+%files -f .mfiles
 %dir %{_docdir}/%{name}
 %doc %{_docdir}/%{name}/LICENSE.txt
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
 
 %files javadoc
 %dir %{_docdir}/%{name}
@@ -209,6 +206,9 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
 %{_datadir}/%{name}-%{version}
 
 %changelog
+* Thu May 29 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:1.6.1-21
+- Use .mfiles generated during build
+
 * Fri Dec 06 2013 Michal Srb <msrb at redhat.com> - 0:1.6.1-20
 - Add ability to disable HTML handling
 


More information about the scm-commits mailing list