commit 18a38cfeb0a923dff3d501210713298e6c42f6b4
Author: Marek Goldmann <marek.goldmann(a)gmail.com>
Date: Wed Sep 18 14:16:08 2013 +0200
Upstream release 1.9
.gitignore | 1 +
hawtjni.spec | 21 +++++++++++++++------
sources | 2 +-
3 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 50c7bf3..14a58f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/hawtjni-1.5.tar.xz
/hawtjni-1.6.tar.xz
/hawtjni-1.8.tar.xz
+/hawtjni-project-1.9.tar.gz
diff --git a/hawtjni.spec b/hawtjni.spec
index d6cf819..c9804bf 100644
--- a/hawtjni.spec
+++ b/hawtjni.spec
@@ -1,14 +1,12 @@
Name: hawtjni
-Version: 1.8
-Release: 3%{?dist}
+Version: 1.9
+Release: 1%{?dist}
Summary: Code generator that produces the JNI code
Group: Development/Libraries
License: ASL 2.0 and EPL and BSD
URL:
http://hawtjni.fusesource.org/
-# git clone
git://github.com/fusesource/hawtjni.git
-# cd hawtjni && git archive --format=tar --prefix=hawtjni-1.8/
hawtjni-project-1.8 | xz > hawtjni-1.8.tar.xz
-Source0: hawtjni-%{version}.tar.xz
+Source0:
https://github.com/fusesource/hawtjni/archive/hawtjni-project-%{version}....
Patch0: 0001-Fix-shading-and-remove-unneeded-modules.patch
Patch1: 0002-Fix-xbean-compatibility.patch
Patch2: 0003-Remove-plexus-maven-plugin-dependency.patch
@@ -54,12 +52,19 @@ Requires: hawtjni = %{version}-%{release}
This package allows to use HawtJNI from a maven plugin.
%prep
-%setup -q
+%setup -q -n hawtjni-hawtjni-project-%{version}
+
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
+# Ready to replace patch0
+# %pom_disable_module hawtjni-example
+# %pom_disable_module hawtjni-website
+# %pom_add_dep "org.apache.maven:maven-compat:3.0.3"
maven-hawtjni-plugin/pom.xml
+# %pom_remove_plugin ":maven-shade-plugin" hawtjni-generator/pom.xml
+
%mvn_package ":maven-hawtjni-plugin" maven-plugin
%build
@@ -79,6 +84,10 @@ This package allows to use HawtJNI from a maven plugin.
%doc license.txt
%changelog
+* Wed Sep 18 2013 Marek Goldmann <mgoldman(a)redhat.com> - 1.9-1
+- Upstream release 1.9
+- hawtjni: missing barriers in cache initialization, RHBZ#957181
+
* Tue Aug 06 2013 Marek Goldmann <mgoldman(a)redhat.com> - 1.8-3
- New guidelines
diff --git a/sources b/sources
index 6b4dd7d..9c93848 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7339b4fd0a554e3df8f488d84495e54a hawtjni-1.8.tar.xz
+be699ff5abcd8cae097f24a84f4e58bb hawtjni-project-1.9.tar.gz