Generate correct OSGi metadata

This commit is contained in:
Mat Booth 2018-04-25 23:23:37 +01:00
parent 993bb32961
commit d9f593e8d8

View File

@ -2,7 +2,7 @@
Name: batik
Version: 1.9
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Scalable Vector Graphics for Java
License: ASL 2.0 and W3C
URL: https://xmlgraphics.apache.org/batik/
@ -124,8 +124,6 @@ for pom in `find -mindepth 2 -name pom.xml -not -path ./batik-all/pom.xml`; do
<configuration>
<instructions>
<Bundle-SymbolicName>org.apache.batik.$(sed 's:./batik-::;s:/pom.xml::' <<< $pom)</Bundle-SymbolicName>
<!-- To prevent breaking eclipse -->
<Bundle-Version>1.7.0</Bundle-Version>
</instructions>
</configuration>
"
@ -192,6 +190,9 @@ cp -pr samples $RPM_BUILD_ROOT%{_datadir}/%{name}/
%changelog
* Wed Apr 25 2018 Mat Booth <mat.booth@redhat.com> - 1.9-7
- Generate correct OSGi metadata
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild