diff --git a/slf4j-sources.changes b/slf4j-sources.changes index d2ee968..c572839 100644 --- a/slf4j-sources.changes +++ b/slf4j-sources.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 19 05:31:47 UTC 2019 - Fridrich Strba + +- Fix an unexpanded ${parsedVersion.osgiVersion} variable in the + manifests. + ------------------------------------------------------------------- Mon Mar 18 09:34:22 UTC 2019 - Fridrich Strba diff --git a/slf4j.changes b/slf4j.changes index d2ee968..c572839 100644 --- a/slf4j.changes +++ b/slf4j.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 19 05:31:47 UTC 2019 - Fridrich Strba + +- Fix an unexpanded ${parsedVersion.osgiVersion} variable in the + manifests. + ------------------------------------------------------------------- Mon Mar 18 09:34:22 UTC 2019 - Fridrich Strba diff --git a/slf4j.spec b/slf4j.spec index 9020054..de02927 100644 --- a/slf4j.spec +++ b/slf4j.spec @@ -145,6 +145,9 @@ sed -i -e "s|ant<|org.apache.ant<|g" integration/pom.xml %{_bindir}/find -name "*.css" -o -name "*.js" -o -name "*.txt" | \ %{_bindir}/xargs -t perl -pi -e 's/\r$//g' +# Unexpanded variable in the manifests +perl -pi -e 's#\${parsedVersion\.osgiVersion}#%{version}#g' */src/main/resources/META-INF/MANIFEST.MF + # The general pattern is that the API package exports API classes and does # # not require impl classes. slf4j was breaking that causing "A cycle was # # detected when generating the classpath slf4j.api, slf4j.nop, slf4j.api."