Added OSGi manifest
This commit is contained in:
parent
31ab455743
commit
a1355c7659
32
junit-OSGi-MANIFEST.MF
Normal file
32
junit-OSGi-MANIFEST.MF
Normal file
@ -0,0 +1,32 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-ClassPath: .
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.junit
|
||||
Eclipse-SourceReferences: scm:cvs:pserver:dev.eclipse.org:/cvsroot/too
|
||||
ls:org.eclipse.orbit/org.junit;tag=v4_8_2_v20110321-1705
|
||||
Require-Bundle: org.hamcrest.core;bundle-version="1.1.0";visibility:=r
|
||||
eexport
|
||||
Export-Package: junit.extensions;version="4.8.2",junit.framework;versi
|
||||
on="4.8.2",junit.runner;version="4.8.2",junit.textui;version="4.8.2",
|
||||
org.junit;version="4.8.2",org.junit.experimental;version="4.8.2",org.
|
||||
junit.experimental.categories;version="4.8.2",org.junit.experimental.
|
||||
max;version="4.8.2",org.junit.experimental.results;version="4.8.2",or
|
||||
g.junit.experimental.runners;version="4.8.2",org.junit.experimental.t
|
||||
heories;version="4.8.2",org.junit.experimental.theories.internal;vers
|
||||
ion="4.8.2";x-internal:=true,org.junit.experimental.theories.supplier
|
||||
s;version="4.8.2",org.junit.internal;version="4.8.2";x-internal:=true
|
||||
,org.junit.internal.builders;version="4.8.2";x-internal:=true,org.jun
|
||||
it.internal.matchers;version="4.8.2";x-internal:=true,org.junit.inter
|
||||
nal.requests;version="4.8.2";x-internal:=true,org.junit.internal.runn
|
||||
ers;version="4.8.2";x-internal:=true,org.junit.internal.runners.model
|
||||
;version="4.8.2";x-internal:=true,org.junit.internal.runners.statemen
|
||||
ts;version="4.8.2";x-internal:=true,org.junit.matchers;version="4.8.2
|
||||
",org.junit.rules;version="4.8.2",org.junit.runner;version="4.8.2",or
|
||||
g.junit.runner.manipulation;version="4.8.2",org.junit.runner.notifica
|
||||
tion;version="4.8.2",org.junit.runners;version="4.8.2",org.junit.runn
|
||||
ers.model;version="4.8.2"
|
||||
Bundle-Version: 4.8.2.v4_8_2_v20110321-1705
|
||||
Bundle-ManifestVersion: 2
|
11
junit.spec
11
junit.spec
@ -30,7 +30,7 @@
|
||||
|
||||
Name: junit
|
||||
Version: 4.10
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Java regression test package
|
||||
License: CPL
|
||||
@ -44,6 +44,7 @@ BuildArch: noarch
|
||||
# tar cjf junit-4.10.tar.xz junit-4.10/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: http://search.maven.org/remotecontent?filepath=%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
||||
Source2: junit-OSGi-MANIFEST.MF
|
||||
Patch0: %{name}-removed-test.patch
|
||||
|
||||
BuildRequires: ant
|
||||
@ -106,6 +107,11 @@ ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.1.jar
|
||||
%build
|
||||
ant dist
|
||||
|
||||
# inject OSGi manifest
|
||||
mkdir -p META-INF
|
||||
cp -p %{SOURCE2} META-INF/MANIFEST.MF
|
||||
touch META-INF/MANIFEST.MF
|
||||
zip -u %{name}%{version}/%{name}-%{version}.jar META-INF/MANIFEST.MF
|
||||
|
||||
%install
|
||||
# jars
|
||||
@ -149,6 +155,9 @@ cp -pr %{name}%{version}/%{name}/* %{buildroot}%{_datadir}/%{name}/demo/%{name}
|
||||
%doc junit%{version}/doc/*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 26 2012 Roland Grunberg <rgrunber@redhat.com> 0:4.8.2-3
|
||||
- Add OSGi metadata to junit.jar manifest.
|
||||
|
||||
* Thu Jan 26 2012 Tomas Radej <tradej@redhat.com> - 0:4.10-2
|
||||
- Fixed versioning
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user