[stax2-api] Update to upstream version 3.1.4

Michael Šimáček msimacek at fedoraproject.org
Mon Feb 16 20:48:35 UTC 2015


commit 1075c9756a0f3408f350b0d23fbbd5c35429312c
Author: Michael Simacek <msimacek at redhat.com>
Date:   Mon Feb 16 21:47:27 2015 +0100

    Update to upstream version 3.1.4

 .gitignore     |    1 +
 sources        |    2 +-
 stax2-api.spec |   33 +++++++++++++++------------------
 3 files changed, 17 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b48ad38..f7fb469 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /stax2-api-3.1.1-sources.jar
+/stax2-api-3.1.4.tar.gz
diff --git a/sources b/sources
index dacf081..eee565d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8acec319425e43d32ca5d64ab7a1a38  stax2-api-3.1.1-sources.jar
+5a35eacaa5f83b396372f37fd448dab8  stax2-api-3.1.4.tar.gz
diff --git a/stax2-api.spec b/stax2-api.spec
index 0680306..573c229 100644
--- a/stax2-api.spec
+++ b/stax2-api.spec
@@ -1,20 +1,19 @@
 Name:             stax2-api
-Version:          3.1.1
-Release:          9%{?dist}
+Version:          3.1.4
+Release:          1%{?dist}
 Summary:          Experimental API extending basic StAX implementation
 License:          BSD
-# NOTE. new home http://wiki.fasterxml.com/WoodstoxStax2
-URL:              http://docs.codehaus.org/display/WSTX/StAX2
-# NOTE. newer release available here https://github.com/FasterXML/stax2-api/
-Source0:          http://repository.codehaus.org/org/codehaus/woodstox/%{name}/%{version}/%{name}-%{version}-sources.jar
-Source1:          http://repository.codehaus.org/org/codehaus/woodstox/%{name}/%{version}/%{name}-%{version}.pom
+URL:              http://wiki.fasterxml.com/WoodstoxStax2
+Source0:          https://github.com/FasterXML/%{name}/archive/%{name}-%{version}.tar.gz
 
 BuildArch:        noarch
 
-BuildRequires:    maven-surefire-provider-junit
-BuildRequires:    bea-stax-api
-BuildRequires:    java-devel
-BuildRequires:    maven-local
+BuildRequires:  maven-local
+BuildRequires:  mvn(javax.xml.stream:stax-api)
+BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-release-plugin)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
+BuildRequires:  mvn(org.sonatype.oss:oss-parent:pom:)
 
 %description
 StAX2 is an experimental API that is intended to extend
@@ -31,14 +30,9 @@ Summary:          API documentation for %{name}
 This package contains the API documentation for %{name}.
 
 %prep
-%setup -q -c %{name}
-# fixing incomplete source directory structure
-mkdir -p src/main/java
-mv -f org src/main/java/
+%setup -q -n %{name}-%{name}-%{version}
 
-cp %{SOURCE1} pom.xml
-%pom_remove_dep javax.xml.stream:stax-api
-%pom_add_dep stax:stax-api:1.0.1
+%pom_xpath_remove pom:Import-Package
 
 %build
 
@@ -53,6 +47,9 @@ cp %{SOURCE1} pom.xml
 %files javadoc -f .mfiles-javadoc
 
 %changelog
+* Mon Feb 16 2015 Michael Simacek <msimacek at redhat.com> - 3.1.4-1
+- Update to upstream version 3.1.4
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.1-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list