diff --git a/xz-java-osgi.patch b/xz-java-osgi.patch
new file mode 100644
index 0000000..f396f74
--- /dev/null
+++ b/xz-java-osgi.patch
@@ -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 @@
+
+
+
++
++
++
+
+
+
diff --git a/xz-java.spec b/xz-java.spec
index 55f0d58..2093668 100644
--- a/xz-java.spec
+++ b/xz-java.spec
@@ -1,6 +1,6 @@
Name: xz-java
Version: 1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Java implementation of XZ data compression
Group: Development/Libraries
BuildArch: noarch
@@ -8,6 +8,7 @@ BuildArch: noarch
License: Public Domain
URL: http://tukaani.org/xz/java.html
Source0: http://tukaani.org/xz/xz-java-%{version}.zip
+Patch0: xz-java-osgi.patch
BuildRequires: jpackage-utils
BuildRequires: java-devel
@@ -33,6 +34,7 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -c %{name}-%{version}
+%patch0
%build
# 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}
%changelog
+* Thu Jan 3 2013 Krzysztof Daniel 1.1-2
+- Add patch for OSGi Manifest.
+
* Fri Aug 17 2012 Mikolaj Izdebski - 1.1-1
- Update to upstream version 1.1