[mockito] Use .mfiles to pick up xmvn metadata

jerboaa jerboaa at fedoraproject.org
Tue Jun 10 10:13:38 UTC 2014


commit a4c3180ba1fe337a95e107245982c19ba200f7f7
Author: Omair Majid <omajid at redhat.com>
Date:   Mon Jun 9 11:22:41 2014 -0400

    Use .mfiles to pick up xmvn metadata
    
    Don't use obsolete _mavenpomdir and _mavendepmapfragdir macros. Fixes
    build failure.

 mockito.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/mockito.spec b/mockito.spec
index dae7900..ad06df2 100644
--- a/mockito.spec
+++ b/mockito.spec
@@ -80,10 +80,8 @@ cp -rp target/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
 %add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.mockito:mockito-all"
 
-%files
+%files -f .mfiles
 %{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
 %doc NOTICE
 %doc LICENSE
 
@@ -93,6 +91,11 @@ cp -rp target/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 %doc NOTICE
 
 %changelog
+* Mon Jun 09 2014 Omair Majid <omajid at redhat.com> - 1.9.0-17
+- Use .mfiles to pick up xmvn metadata
+- Don't use obsolete _mavenpomdir and _mavendepmapfragdir macros
+- Fix FTBFS
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.0-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list