public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hawtjni] epel10: Spit runtime into subpackage
@ 2026-07-17 9:03 Mikolaj Izdebski
0 siblings, 0 replies; only message in thread
From: Mikolaj Izdebski @ 2026-07-17 9:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hawtjni
Branch : epel10
Commit : 49adf55fa473bb17706eb132cdb1269d00147c9a
Author : Mikolaj Izdebski <mizdebsk@redhat.com>
Date : 2014-11-21T12:09:52+01:00
Stats : +18/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hawtjni/c/49adf55fa473bb17706eb132cdb1269d00147c9a?branch=epel10
Log:
Spit runtime into subpackage
- Resolves: rhbz#1166607
---
diff --git a/hawtjni.spec b/hawtjni.spec
index da49cb0..eafd9fd 100644
--- a/hawtjni.spec
+++ b/hawtjni.spec
@@ -1,19 +1,18 @@
Name: hawtjni
Version: 1.10
-Release: 2%{?dist}
+Release: 3%{?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/
+BuildArch: noarch
Source0: https://github.com/fusesource/hawtjni/archive/hawtjni-project-%{version}.tar.gz
+
Patch0: 0001-Fix-shading-and-remove-unneeded-modules.patch
Patch1: 0002-Fix-xbean-compatibility.patch
Patch2: 0003-Remove-plexus-maven-plugin-dependency.patch
Patch3: 0004-Remove-eclipse-plugin.patch
-BuildArch: noarch
-
BuildRequires: maven-local
BuildRequires: maven-compiler-plugin
BuildRequires: maven-plugin-plugin
@@ -41,15 +40,19 @@ JNI code which powers the eclipse platform.
%package javadoc
Summary: Javadocs for %{name}
-Group: Documentation
%description javadoc
This package contains the API documentation for %{name}.
+%package runtime
+Summary: HawtJNI Runtime
+
+%description runtime
+This package provides API that projects using HawtJNI should build
+against.
+
%package -n maven-hawtjni-plugin
Summary: Use HawtJNI from a maven plugin
-Group: Development/Libraries
-Requires: hawtjni = %{version}-%{release}
%description -n maven-%{name}-plugin
This package allows to use HawtJNI from a maven plugin.
@@ -68,6 +71,7 @@ This package allows to use HawtJNI from a maven plugin.
# %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 ":hawtjni-runtime" runtime
%mvn_package ":maven-hawtjni-plugin" maven-plugin
%pom_xpath_set "pom:groupId[text()='asm']" org.ow2.asm hawtjni-generator
@@ -78,17 +82,22 @@ This package allows to use HawtJNI from a maven plugin.
%install
%mvn_install
-%files -f .mfiles
+%files runtime -f .mfiles-runtime
%dir %{_javadir}/%{name}
%doc readme.md license.txt changelog.md
+%files -f .mfiles
+
%files javadoc -f .mfiles-javadoc
%doc license.txt
%files -n maven-hawtjni-plugin -f .mfiles-maven-plugin
-%doc license.txt
%changelog
+* Fri Nov 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-3
+- Spit runtime into subpackage
+- Resolves: rhbz#1166607
+
* Mon Jun 9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-2
- Add requires on autoconf, automake, libtool
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-17 9:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 9:03 [rpms/hawtjni] epel10: Spit runtime into subpackage Mikolaj Izdebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox