From c607565d85ea9c7f2815c42b3a24ed9dec03357f Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Fri, 20 Mar 2020 11:14:19 +0000 Subject: [PATCH] Fix broken OSGi metadata --- slf4j.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/slf4j.spec b/slf4j.spec index be97af8..42e5c3e 100644 --- a/slf4j.spec +++ b/slf4j.spec @@ -30,7 +30,7 @@ Name: slf4j Version: 1.7.30 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 0 Summary: Simple Logging Facade for Java # the log4j-over-slf4j and jcl-over-slf4j submodules are ASL 2.0, rest is MIT @@ -165,7 +165,7 @@ find -name "*.css" -o -name "*.js" -o -name "*.txt" | \ # during build time, it is necessary to mark the imported package as an # optional one. # Reported upstream: http://bugzilla.slf4j.org/show_bug.cgi?id=283 -sed -i "/Import-Package/s/.$/;resolution:=optional&/" slf4j-api/src/main/resources/META-INF/MANIFEST.MF +sed -i '/Import-Package/s/\}$/};resolution:=optional/' slf4j-api/src/main/resources/META-INF/MANIFEST.MF # Source JARs for are required by Maven 3.4.0 %mvn_package :::sources: sources @@ -212,6 +212,9 @@ cp -pr target/site/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-manual %{_defaultdocdir}/%{name}-manual %changelog +* Fri Mar 20 2020 Mat Booth - 0:1.7.30-2 +- Fix broken OSGi metadata + * Wed Feb 05 2020 Dinesh Prasanth M K - 0:1.7.30-1 - Update to upstream version 1.7.30