commit b02d11673d2d897788c3b2bc22473f0afe78add9 Author: Alexander Kurtakov akurtako@redhat.com Date: Wed Aug 1 11:05:40 2012 +0300
Add OSGi metadata to hamcrest-generator.
hamcrest-generator-MANIFEST.MF | 18 ++++++++++++++++++ hamcrest.spec | 12 +++++++++++- 2 files changed, 29 insertions(+), 1 deletions(-) --- diff --git a/hamcrest-generator-MANIFEST.MF b/hamcrest-generator-MANIFEST.MF new file mode 100644 index 0000000..57ca8cc --- /dev/null +++ b/hamcrest-generator-MANIFEST.MF @@ -0,0 +1,18 @@ +Manifest-Version: 1.0 +Bundle-Vendor: %providerName +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-Name: %pluginName +Bundle-SymbolicName: org.hamcrest.generator +Bundle-Version: 1.1.0.v20090501071000 +Export-Package: org.hamcrest.generator;version="1.1.0",org.hamcrest.ge + nerator.config;version="1.1.0" +Bundle-ManifestVersion: 2 +Import-Package: com.thoughtworks.qdox;version="1.6.3",com.thoughtworks + .qdox.ant;version="1.6.3",com.thoughtworks.qdox.directorywalker;versi + on="1.6.3",com.thoughtworks.qdox.junit;version="1.6.3",com.thoughtwor + ks.qdox.model;version="1.6.3",com.thoughtworks.qdox.model.util;versio + n="1.6.3",com.thoughtworks.qdox.parser;version="1.6.3",com.thoughtwor + ks.qdox.parser.impl;version="1.6.3",com.thoughtworks.qdox.parser.stru + cts;version="1.6.3",com.thoughtworks.qdox.tools;version="1.6.3" diff --git a/hamcrest.spec b/hamcrest.spec index bd82f3d..0019728 100644 --- a/hamcrest.spec +++ b/hamcrest.spec @@ -50,7 +50,7 @@
Name: hamcrest Version: 1.1 -Release: 18%{?dist} +Release: 19%{?dist} Epoch: 0 Summary: Library of matchers for building test expressions License: BSD @@ -68,6 +68,7 @@ Source8: hamcrest-core-MANIFEST.MF Source9: hamcrest-library-MANIFEST.MF Source10: hamcrest-text-MANIFEST.MF Source11: hamcrest-integration-MANIFEST.MF +Source12: hamcrest-generator-MANIFEST.MF Patch0: hamcrest-1.1-build.patch Patch1: hamcrest-1.1-no-jarjar.patch Patch2: hamcrest-1.1-no-integration.patch @@ -185,6 +186,12 @@ cp -p %{SOURCE11} META-INF/MANIFEST.MF touch META-INF/MANIFEST.MF zip -u build/%{name}-integration-%{version}.jar META-INF/MANIFEST.MF
+rm -fr META-INF +mkdir -p META-INF +cp -p %{SOURCE12} META-INF/MANIFEST.MF +touch META-INF/MANIFEST.MF +zip -u build/%{name}-generator-%{version}.jar META-INF/MANIFEST.MF + %install # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} @@ -254,6 +261,9 @@ cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}/ %{_datadir}/%{name}
%changelog +* Wed Aug 1 2012 Alexander Kurtakov akurtako@redhat.com 0:1.1-19 +- Add OSGi metadata to hamcrest-generator. + * Tue Jul 31 2012 Alexander Kurtakov akurtako@redhat.com 0:1.1-18 - Actually build integration.