代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/apache-commons-logging 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_with bootstrap
Summary: Apache Commons Logging
Name: apache-commons-logging
Version: 1.3.4
Release: 1%{?dist}
License: ASL 2.0
URL: http://commons.apache.org/logging
Source0: http://www.apache.org/dist/commons/logging/source/commons-logging-%{version}-src.tar.gz
Source1: commons-logging-api-1.1.pom
Patch3000: 0001-Generate-different-Bundle-SymbolicName-for-different.patch
Patch3001: 0002-Port-to-maven-jar-plugin-3.0.0.patch
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(javax.servlet:servlet-api)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
%endif
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
%description
The commons-logging package provides a simple, component oriented
interface (org.apache.commons.logging.Log) together with wrappers for
logging systems. The user can choose at runtime which system they want
to use. In addition, a small number of basic implementations are
provided to allow users to use the package standalone.
commons-logging was heavily influenced by Avalon's Logkit and Log4J. The
commons-logging abstraction is meant to minimize the differences between
the two, and to allow a developer to not tie himself to a particular
logging implementation.
%{?javadoc_package}
%prep
%autosetup -p1 -n commons-logging-%{version}-src
%pom_remove_dep -r :avalon-framework
%pom_remove_dep -r :logkit
%pom_remove_dep -r :log4j
rm src/main/java/org/apache/commons/logging/impl/AvalonLogger.java
rm src/main/java/org/apache/commons/logging/impl/Log4JLogger.java
rm src/main/java/org/apache/commons/logging/impl/LogKitLogger.java
rm -r src/test/java/org/apache/commons/logging/{avalon,log4j,logkit}
rm src/test/java/org/apache/commons/logging/pathable/{Parent,Child}FirstTestCase.java
%pom_xpath_set "pom:properties/pom:commons.osgi.import" '*;resolution:=optional'
%pom_remove_plugin :cobertura-maven-plugin
%pom_remove_plugin :maven-scm-publish-plugin
sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt
%mvn_file ":commons-logging{*}" "commons-logging@1" "%{name}@1"
%mvn_alias ":commons-logging{*}" "org.apache.commons:commons-logging@1" "apache:commons-logging@1"
rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
%build
%mvn_build -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7 -Dcommons.osgi.symbolicName=org.apache.commons.logging
%mvn_artifact %{SOURCE1} target/commons-logging-%{version}-api.jar
%mvn_artifact commons-logging:commons-logging-adapters:%{version} target/commons-logging-%{version}-adapters.jar
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%doc PROPOSAL.html RELEASE-NOTES.txt
%changelog
* Fri Sep 20 2024 Upgrade Robot <[email protected]> - 1.3.4-1
- Upgrade to version 1.3.4
* Fri Aug 16 2024 OpenCloudOS Release Engineering <[email protected]> - 1.2-7
- Rebuilt for loongarch release
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 1.2-6
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 1.2-5
- Rebuilt for OpenCloudOS Stream 23.05
* Wed Apr 19 2023 Zhao Zhen <[email protected]> - 1.2-4
- switched to non-bootstrap building
* Wed Apr 12 2023 Zhao Zhen <[email protected]> - 1.2-3
- rebuilding for opencloudos
* Thu Mar 23 2023 Shuo Wang <[email protected]> - 1.2-2
- re-build
* Thu Mar 23 2023 Shuo Wang <[email protected]> - 1.2-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。