- Add OSGi manifest for hamcrest-core.
- Make javadoc package noarch.
This commit is contained in:
parent
ab37b00ced
commit
148e85411a
12
hamcrest-core-MANIFEST.MF
Normal file
12
hamcrest-core-MANIFEST.MF
Normal file
@ -0,0 +1,12 @@
|
||||
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.core
|
||||
Export-Package: org.hamcrest;version="1.1.0";core=split;mandatory:=cor
|
||||
e,org.hamcrest.core;version="1.1.0",org.hamcrest.internal;version="1.
|
||||
1.0";x-internal:=true
|
||||
Bundle-Version: 1.1.0.v20090501071000
|
||||
Bundle-ManifestVersion: 2
|
@ -53,7 +53,7 @@
|
||||
|
||||
Name: hamcrest
|
||||
Version: 1.1
|
||||
Release: 9.1%{?dist}
|
||||
Release: 9.2%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Library of matchers for building test expressions
|
||||
License: BSD
|
||||
@ -67,6 +67,7 @@ Source4: http://repo1.maven.org/maven2/org/hamcrest/hamcrest-generator/1.
|
||||
Source5: http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.pom
|
||||
Source6: http://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.pom
|
||||
Source7: hamcrest-text-1.1.pom
|
||||
Source8: hamcrest-core-MANIFEST.MF
|
||||
Patch0: hamcrest-1.1-build.patch
|
||||
Patch1: hamcrest-1.1-no-jarjar.patch
|
||||
Patch2: hamcrest-1.1-no-integration.patch
|
||||
@ -115,6 +116,7 @@ UI validation rules.
|
||||
%package javadoc
|
||||
Group: Documentation
|
||||
Summary: Javadoc for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
@ -176,6 +178,12 @@ ant -Dant.build.javac.source=1.5 -Dversion=%{version} -Dbuild.sysclasspath=first
|
||||
ant -Dant.build.javac.source=1.5 -Dversion=%{version} -Dbuild.sysclasspath=first clean core generator library text bigjar javadoc
|
||||
%endif
|
||||
|
||||
# inject OSGi manifests
|
||||
mkdir -p META-INF
|
||||
cp -p %{SOURCE8} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u build/%{name}-core-%{version}.jar META-INF/MANIFEST.MF
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
# jars
|
||||
@ -297,6 +305,10 @@ fi
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-9.2
|
||||
- Add OSGi manifest for hamcrest-core.
|
||||
- Make javadoc package noarch.
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-9.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user