Add patch for OSGi Manifest.
This commit is contained in:
parent
b6546c79fa
commit
cd63efa72e
12
xz-java-osgi.patch
Normal file
12
xz-java-osgi.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- build.xml.bak 2012-07-05 08:21:30.000000000 +0200
|
||||||
|
+++ build.xml 2013-01-03 14:23:51.411506995 +0100
|
||||||
|
@@ -64,6 +64,9 @@
|
||||||
|
<attribute name="Implementation-Version" value="${version}"/>
|
||||||
|
<attribute name="Implementation-URL" value="${homepage}"/>
|
||||||
|
<attribute name="Sealed" value="true"/>
|
||||||
|
+ <attribute name="Bundle-SymbolicName" value="org.tukaani.xz"/>
|
||||||
|
+ <attribute name="Bundle-Version" value="1.1"/>
|
||||||
|
+ <attribute name="Export-Package" value="org.tukaani.xz"/>
|
||||||
|
</manifest>
|
||||||
|
</jar>
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: xz-java
|
Name: xz-java
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Java implementation of XZ data compression
|
Summary: Java implementation of XZ data compression
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -8,6 +8,7 @@ BuildArch: noarch
|
|||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: http://tukaani.org/xz/java.html
|
URL: http://tukaani.org/xz/java.html
|
||||||
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
|
||||||
|
Patch0: xz-java-osgi.patch
|
||||||
|
|
||||||
BuildRequires: jpackage-utils
|
BuildRequires: jpackage-utils
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
@ -33,6 +34,7 @@ This package contains the API documentation for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}-%{version}
|
%setup -q -c %{name}-%{version}
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# During documentation generation the upstream build.xml tries to download
|
# During documentation generation the upstream build.xml tries to download
|
||||||
@ -66,6 +68,9 @@ install -pm 644 build/maven/xz-%{version}.pom %{buildroot}/%{_mavenpomdir}/JPP-%
|
|||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1-2
|
||||||
|
- Add patch for OSGi Manifest.
|
||||||
|
|
||||||
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-1
|
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1-1
|
||||||
- Update to upstream version 1.1
|
- Update to upstream version 1.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user