diff --git a/apache-commons-compress.spec b/apache-commons-compress.spec index dcb1936..f1723de 100644 --- a/apache-commons-compress.spec +++ b/apache-commons-compress.spec @@ -3,7 +3,7 @@ Name: apache-%{short_name} Version: 1.10 -Release: 0.3.svn1684406%{?dist} +Release: 0.3.svn1684406%{?dist}.1 Summary: Java API for working with compressed files and archivers License: ASL 2.0 URL: http://commons.apache.org/%{base_name}/ @@ -37,6 +37,9 @@ This package provides %{summary}. # FIXME: test fails for unknown reason find -name X5455_ExtendedTimestampTest.java -delete +%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \ + "%{version}.0org.apache.commons.*;version=%{version};-noimport:=true" + %build %mvn_file : %{short_name} %{name} %mvn_alias : commons: @@ -52,6 +55,9 @@ find -name X5455_ExtendedTimestampTest.java -delete %doc LICENSE.txt NOTICE.txt %changelog +* Fri Oct 07 2016 Mat Booth - 1.10-0.3.svn1684406.1 +- Prevent "SNAPSHOT" from breaking the OSGi metadata + * Wed Feb 03 2016 Fedora Release Engineering - 1.10-0.3.svn1684406 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild