Add OSGi metadata to hamcrest-integration.
This commit is contained in:
parent
e240ba4f8c
commit
9f29e3c2de
14
hamcrest-integration-MANIFEST.MF
Normal file
14
hamcrest-integration-MANIFEST.MF
Normal file
@ -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
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user