diff --git a/.gitignore b/.gitignore index 53f7eeb..8dfa75c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +/results_* +/*.src.rpm + /hawtjni-1.1.tar.xz /hawtjni-1.2.tar.xz /hawtjni-1.3.tar.xz @@ -8,3 +11,4 @@ /hawtjni-project-1.10.tar.gz /hawtjni-project-1.15.tar.gz /hawtjni-fa1fd5dfdd0a1a5a67b61fa7d7ee7126b300c8f0.tar.gz +/hawtjni-project-1.17.tar.gz diff --git a/hawtjni.spec b/hawtjni.spec index e4eed6f..d454cbc 100644 --- a/hawtjni.spec +++ b/hawtjni.spec @@ -1,21 +1,20 @@ Name: hawtjni -Version: 1.16 -Release: 5%{?dist} +Version: 1.17 +Release: 1%{?dist} Summary: Code generator that produces the JNI code # Maven plugin is under ASL 2.0. # stdint.h, shipped in JAR as resource, used only with M$ VC++, is under BSD. # Everything else is under EPL-1.0 License: ASL 2.0 and EPL-1.0 and BSD + URL: http://hawtjni.fusesource.org/ -BuildArch: noarch +Source0: https://github.com/fusesource/hawtjni/archive/%{name}-project-%{version}.tar.gz -# That is the maven-release-plugin generated commit, but it's not tagged for some reason -# https://github.com/fusesource/hawtjni/issues/46 -%global commit fa1fd5dfdd0a1a5a67b61fa7d7ee7126b300c8f0 -Source0: https://github.com/fusesource/hawtjni/archive/%{commit}/hawtjni-%{commit}.tar.gz +BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(commons-cli:commons-cli) +BuildRequires: mvn(commons-lang:commons-lang) BuildRequires: mvn(org.apache.maven:maven-archiver) BuildRequires: mvn(org.apache.maven:maven-artifact) BuildRequires: mvn(org.apache.maven:maven-artifact-manager) @@ -63,7 +62,10 @@ Summary: Use HawtJNI from a maven plugin This package allows to use HawtJNI from a maven plugin. %prep -%setup -q -n hawtjni-%{commit} +%setup -q -n %{name}-%{name}-project-%{version} + +# this dependency seems to be missing +%pom_add_dep commons-lang:commons-lang hawtjni-generator %pom_disable_module hawtjni-example %pom_remove_plugin -r :maven-shade-plugin @@ -94,6 +96,9 @@ This package allows to use HawtJNI from a maven plugin. %files -n maven-hawtjni-plugin -f .mfiles-maven-plugin %changelog +* Sat Oct 05 2019 Fabio Valentini - 1.17-1 +- Update to version 1.17. + * Thu Jul 25 2019 Fedora Release Engineering - 1.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3683adc..19674fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hawtjni-fa1fd5dfdd0a1a5a67b61fa7d7ee7126b300c8f0.tar.gz) = e934bce3843aa43e641e88d506b23f9b59d2e543ab25c8e824591f9c536bd19f338fb558aa09a99b5ab0c0361df19f683554cf48c5d76e229eb18c48dc5f718c +SHA512 (hawtjni-project-1.17.tar.gz) = 0cd29a69e96ae60a875d2f4589c322110f4105a66b0733ae499db6753b83ec3a4c48ea2b9760006365591f0fe2a17d9e89d3310b985a48ce6ec60700ebeeb220