Preserve more upstream manifest headers

This commit is contained in:
Mikolaj Izdebski 2017-09-15 12:03:53 +02:00
parent ccb21cdae7
commit 3a8aa5e8d0

View File

@ -35,7 +35,6 @@ cp -p %{SOURCE100} pom.xml
%pom_add_dep junit:junit:4.12:test %pom_add_dep junit:junit:4.12:test
# Inject OSGi manifest required by Eclipse
%pom_xpath_inject pom:project " %pom_xpath_inject pom:project "
<build> <build>
<pluginManagement> <pluginManagement>
@ -45,6 +44,14 @@ cp -p %{SOURCE100} pom.xml
<configuration> <configuration>
<archive> <archive>
<manifestEntries> <manifestEntries>
<Automatic-Module-Name>org.opentest4j</Automatic-Module-Name>
<Implementation-Title>opentest4j</Implementation-Title>
<Implementation-Vendor>opentest4j.org</Implementation-Vendor>
<Implementation-Version>%{version}</Implementation-Version>
<Specification-Title>opentest4j</Specification-Title>
<Specification-Vendor>opentest4j.org</Specification-Vendor>
<Specification-Version>%{version}</Specification-Version>
<!-- OSGi metadata required by Eclipse -->
<Bundle-ManifestVersion>2</Bundle-ManifestVersion> <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>org.opentest4j</Bundle-SymbolicName> <Bundle-SymbolicName>org.opentest4j</Bundle-SymbolicName>
<Bundle-Version>%{version}</Bundle-Version> <Bundle-Version>%{version}</Bundle-Version>