Add OSGi metadata
This commit is contained in:
parent
ba1559d445
commit
4aabfebcf1
10
jzlib.spec
10
jzlib.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jzlib
|
Name: jzlib
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Re-implementation of zlib in pure Java
|
Summary: Re-implementation of zlib in pure Java
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -12,6 +12,7 @@ Source0: https://github.com/ymnk/jzlib/archive/%{version}.tar.gz
|
|||||||
Patch0: jzlib-javadoc-fixes.patch
|
Patch0: jzlib-javadoc-fixes.patch
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The zlib is designed to be a free, general-purpose, legally unencumbered
|
The zlib is designed to be a free, general-purpose, legally unencumbered
|
||||||
@ -37,6 +38,10 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
|
# Make into OSGi bundle
|
||||||
|
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
||||||
|
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "<extensions>true</extensions>"
|
||||||
|
|
||||||
%mvn_file : %{name}
|
%mvn_file : %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -59,6 +64,9 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
|
|||||||
%doc %{_datadir}/%{name}
|
%doc %{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 21 2018 Mat Booth <mat.booth@redhat.com> - 0:1.1.3-8
|
||||||
|
- Add OSGi metadata
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-7
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user