Hello community, here is the log from the commit of package slf4j for openSUSE:Factory checked in at 2013-09-23 11:02:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/slf4j (Old) and /work/SRC/openSUSE:Factory/.slf4j.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "slf4j" Changes: -------- --- /work/SRC/openSUSE:Factory/slf4j/slf4j.changes 2013-09-16 10:15:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.slf4j.new/slf4j.changes 2013-09-23 11:18:13.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Sep 19 14:22:54 UTC 2013 - mvysko...@suse.com + +- self-provide osgi(slf4j.api) symbol + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ slf4j.spec ++++++ --- /var/tmp/diff_new_pack.DwV7cT/_old 2013-09-23 11:18:15.000000000 +0200 +++ /var/tmp/diff_new_pack.DwV7cT/_new 2013-09-23 11:18:15.000000000 +0200 @@ -45,6 +45,9 @@ Requires: cal10n Requires: java Requires: javapackages-tools +# this is ugly hack, which creates package wich requires the same, +# however slf4j is not splitted between -api and -impl, but pom files are modeled as it was +Provides: osgi(slf4j.api) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -87,6 +90,15 @@ %{_bindir}/find -name "*.css" -o -name "*.js" -o -name "*.txt" | \ %{_bindir}/xargs -t %{__perl} -pi -e 's/\r$//g' +# 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." +# # The API bundle requires impl package, so to avoid cyclic dependencies +# # 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 + %build export CLASSPATH=$(build-classpath log4j \ commons-logging \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org