commit 9f29e3c2def46d58fd830a9cd38469eb5c242bbe Author: Alexander Kurtakov akurtako@redhat.com Date: Tue Jul 31 16:17:53 2012 +0300
Add OSGi metadata to hamcrest-integration.
hamcrest-integration-MANIFEST.MF | 14 ++++++++++++++ hamcrest.spec | 12 +++++++++++- 2 files changed, 25 insertions(+), 1 deletions(-) --- diff --git a/hamcrest-integration-MANIFEST.MF b/hamcrest-integration-MANIFEST.MF new file mode 100644 index 0000000..736b0c4 --- /dev/null +++ b/hamcrest-integration-MANIFEST.MF @@ -0,0 +1,14 @@ +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.integration +Require-Bundle: org.hamcrest.core;bundle-version="1.1.0" +Bundle-Version: 1.1.0.v20090501071000 +Export-Package: org.hamcrest;integration=split;mandatory:=integration; + version="1.1.0",org.hamcrest.integration;version="1.1.0" +Bundle-ManifestVersion: 2 +Import-Package: org.easymock;version="2.4.0";resolution:=optional,org. + jmock.core;version="1.10";resolution:=optional diff --git a/hamcrest.spec b/hamcrest.spec index 8009247..51cce06 100644 --- a/hamcrest.spec +++ b/hamcrest.spec @@ -50,7 +50,7 @@
Name: hamcrest Version: 1.1 -Release: 16%{?dist} +Release: 17%{?dist} Epoch: 0 Summary: Library of matchers for building test expressions License: BSD @@ -67,6 +67,7 @@ Source7: hamcrest-text-1.1.pom Source8: hamcrest-core-MANIFEST.MF Source9: hamcrest-library-MANIFEST.MF Source10: hamcrest-text-MANIFEST.MF +Source11: hamcrest-integration-MANIFEST.MF Patch0: hamcrest-1.1-build.patch Patch1: hamcrest-1.1-no-jarjar.patch Patch2: hamcrest-1.1-no-integration.patch @@ -184,6 +185,12 @@ cp -p %{SOURCE10} META-INF/MANIFEST.MF touch META-INF/MANIFEST.MF zip -u build/%{name}-text-%{version}.jar META-INF/MANIFEST.MF
+rm -fr META-INF +mkdir -p META-INF +cp -p %{SOURCE11} META-INF/MANIFEST.MF +touch META-INF/MANIFEST.MF +zip -u build/%{name}-integration-%{version}.jar META-INF/MANIFEST.MF + %install # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} @@ -256,6 +263,9 @@ cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}/ %{_datadir}/%{name}
%changelog +* Tue Jul 31 2012 Alexander Kurtakov akurtako@redhat.com 0:1.1-17 +- Add OSGi metadata to hamcrest-integration. + * Tue Jul 31 2012 Alexander Kurtakov akurtako@redhat.com 0:1.1-16 - Remove checksums from manifest.
java-sig-commits@lists.fedoraproject.org