diff --git a/3.3.0.Final.tar.gz b/3.3.0.Final.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7c0be01d7f43d38f60eb699718e1ddbc0e9373a5 Binary files /dev/null and b/3.3.0.Final.tar.gz differ diff --git a/jboss-logging.spec b/jboss-logging.spec new file mode 100644 index 0000000000000000000000000000000000000000..8f40bf20eacd3cfda0a91396685a254e9fd2d75c --- /dev/null +++ b/jboss-logging.spec @@ -0,0 +1,51 @@ +Name: jboss-logging +Version: 3.3.0 +Release: 5 +Summary: The JBoss Logging Framework +License: ASL 2.0 +URL: https://github.com/jboss-logging/jboss-logging +Source0: https://github.com/jboss-logging/jboss-logging/archive/3.3.0.Final.tar.gz +BuildRequires: git graphviz maven-local mvn(jdepend:jdepend) mvn(log4j:log4j:12) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.apache.logging.log4j:log4j-api) +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) mvn(org.codehaus.mojo:buildnumber-maven-plugin) +BuildRequires: mvn(org.jboss:jboss-parent:pom:) mvn(org.jboss.apiviz:apiviz) +BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager) mvn(org.slf4j:slf4j-api) +BuildArch: noarch + +%description +This package contains the JBoss Logging Framework. + +%package javadoc +Summary: Javadoc for jboss-logging + +%description javadoc +This package contains the API documentation for jboss-logging. + +%prep +%setup -q -n jboss-logging-3.3.0.Final + +%pom_xpath_set pom:properties/pom:version.org.apache.log4j 12 + +sed -i "s|map = MDC.getCopyOfContextMap();|map = (Map) MDC.getCopyOfContextMap();|" \ + src/main/java/org/jboss/logging/Slf4jLoggerProvider.java + + %pom_remove_plugin :maven-source-plugin + + cp -p src/main/resources/META-INF/LICENSE.txt . + sed -i 's/\r//' LICENSE.txt + + %build + %mvn_build -f + + %install + %mvn_install + + %files -f .mfiles + %license LICENSE.txt + + %files javadoc -f .mfiles-javadoc + %license LICENSE.txt + + %changelog + * Thu Dec 13 2019 openEuler Buildteam - 3.3.0-5 + - Package init