!6 Update to version 1.7

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-12-12 09:07:59 +00:00 committed by Gitee
commit e834c9d7fd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 3 deletions

View File

@ -1,17 +1,18 @@
%global short_name commons-validator %global short_name commons-validator
Name: apache-%{short_name} Name: apache-%{short_name}
Version: 1.5.0 Version: 1.7
Release: 3 Release: 1
Summary: Apache Commons Validator Summary: Apache Commons Validator
License: ASL 2.0 License: ASL 2.0
URL: http://commons.apache.org/validator/ URL: http://commons.apache.org/validator/
Source0: http://archive.apache.org/dist/commons/validator/source/commons-validator-1.5.0-src.tar.gz Source0: http://archive.apache.org/dist/commons/validator/source/commons-validator-1.7-src.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: maven-local mvn(commons-beanutils:commons-beanutils) BuildRequires: maven-local mvn(commons-beanutils:commons-beanutils)
BuildRequires: mvn(commons-collections:commons-collections) BuildRequires: mvn(commons-collections:commons-collections)
BuildRequires: mvn(commons-digester:commons-digester) mvn(commons-logging:commons-logging) BuildRequires: mvn(commons-digester:commons-digester) mvn(commons-logging:commons-logging)
BuildRequires: mvn(junit:junit) mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(junit:junit) mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache.commons:commons-csv)
%description %description
A common issue when receiving data either electronically or from user input is A common issue when receiving data either electronically or from user input is
verifying the integrity of the data. This work is repetitive and becomes even verifying the integrity of the data. This work is repetitive and becomes even
@ -30,6 +31,10 @@ This package contains the API documentation for %{name}.
sed -i 's/\r//' LICENSE.txt sed -i 's/\r//' LICENSE.txt
sed -i 's/\r//' RELEASE-NOTES.txt sed -i 's/\r//' RELEASE-NOTES.txt
sed -i 's/\r//' NOTICE.txt sed -i 's/\r//' NOTICE.txt
sed -i 's/${commons.checkstyle-plugin.version}/3.0.0/g' pom.xml
%pom_remove_plugin com.github.spotbugs:spotbugs-maven-plugin
%pom_remove_dep org.bitstrings.test:junit-clptr
rm -rf src/test/java/org/apache/commons/validator/routines/DomainValidatorStartupTest.java
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}" %mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
%mvn_file :commons-validator %{short_name} %{name} %mvn_file :commons-validator %{short_name} %{name}
@ -46,6 +51,9 @@ sed -i 's/\r//' NOTICE.txt
%doc LICENSE.txt NOTICE.txt %doc LICENSE.txt NOTICE.txt
%changelog %changelog
* Tue Dec 12 2023 Ge Wang <wang__Ge@126.com> - 1.7-1
- Update to version 1.7
* Tue Nov 15 2022 caodongxia <caodongxia@h-partners.com> - 1.5.0-3 * Tue Nov 15 2022 caodongxia <caodongxia@h-partners.com> - 1.5.0-3
- Modify invalid source0 - Modify invalid source0

Binary file not shown.

Binary file not shown.