public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikolaj Izdebski <mizdebsk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hawtjni] epel10: Spit runtime into subpackage
Date: Fri, 17 Jul 2026 09:03:54 GMT [thread overview]
Message-ID: <178427903488.1.1622009689225616821.rpms-hawtjni-49adf55fa473@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-17 9:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178427903488.1.1622009689225616821.rpms-hawtjni-49adf55fa473@fedoraproject.org \
--to=mizdebsk@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox