Elimitate race condition when injecting JAR manifest

Resolves: rhbz#1495250
This commit is contained in:
Mikolaj Izdebski 2017-09-25 17:34:07 +02:00
parent 5b3d311b78
commit 997178a373

View File

@ -32,7 +32,7 @@
Name: xalan-j2
Version: 2.7.1
Release: 32%{?dist}
Release: 33%{?dist}
Epoch: 0
Summary: Java XSLT processor
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
@ -64,7 +64,6 @@ BuildRequires: glassfish-servlet-api
BuildRequires: xerces-j2 >= 0:2.7.1
BuildRequires: xml-commons-apis >= 0:1.3
BuildRequires: xml-stylebook
BuildRequires: zip
Requires: xerces-j2
@ -162,13 +161,8 @@ ant \
servlet
# inject OSGi manifests
mkdir -p META-INF
cp -p %{SOURCE1} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/serializer.jar META-INF/MANIFEST.MF
cp -p %{SOURCE5} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u build/xalan-interpretive.jar META-INF/MANIFEST.MF
jar ufm build/serializer.jar %{SOURCE1}
jar ufm build/xalan-interpretive.jar %{SOURCE5}
%mvn_artifact %{SOURCE2} build/xalan-interpretive.jar
%mvn_artifact %{SOURCE3} build/serializer.jar
@ -215,6 +209,10 @@ mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
%{_datadir}/%{name}
%changelog
* Mon Sep 25 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.7.1-33
- Elimitate race condition when injecting JAR manifest
- Resolves: rhbz#1495250
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.7.1-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild