Elimitate race condition when injecting JAR manifest

Resolves: rhbz#1495243
This commit is contained in:
Mikolaj Izdebski 2017-09-25 17:26:17 +02:00
parent 5a494e9fad
commit b6b0309c76

View File

@ -3,7 +3,7 @@
Summary: Extract class/interface/method definitions from sources
Name: qdox
Version: 2.0
Release: 0.10.%{vertag}%{?dist}
Release: 0.11.%{vertag}%{?dist}
Epoch: 0
License: ASL 2.0
URL: https://github.com/paul-hammant/qdox
@ -60,10 +60,7 @@ jflex --inputstreamctor -d src/main/java/com/thoughtworks/qdox/parser/impl src/g
%mvn_build -f -- -Dqdox.byaccj.executable=byaccj
# Inject OSGi manifests
mkdir -p META-INF
cp -p %{SOURCE1} META-INF/MANIFEST.MF
touch META-INF/MANIFEST.MF
zip -u target/%{name}-%{version}.jar META-INF/MANIFEST.MF
jar ufm target/%{name}-%{version}*.jar %{SOURCE1}
%install
%mvn_install
@ -75,6 +72,10 @@ zip -u target/%{name}-%{version}.jar META-INF/MANIFEST.MF
%doc LICENSE.txt
%changelog
* Mon Sep 25 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.0-0.11.M7
- Elimitate race condition when injecting JAR manifest
- Resolves: rhbz#1495243
* Tue Sep 12 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.0-0.10.M7
- Update to upstream version 2.0-M7