diff --git a/apache-commons-validator.spec b/apache-commons-validator.spec index 72a891d..5703fa1 100644 --- a/apache-commons-validator.spec +++ b/apache-commons-validator.spec @@ -1,17 +1,18 @@ %global short_name commons-validator Name: apache-%{short_name} -Version: 1.5.0 -Release: 3 +Version: 1.7 +Release: 1 Summary: Apache Commons Validator License: ASL 2.0 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 BuildRequires: maven-local mvn(commons-beanutils:commons-beanutils) BuildRequires: mvn(commons-collections:commons-collections) BuildRequires: mvn(commons-digester:commons-digester) mvn(commons-logging:commons-logging) BuildRequires: mvn(junit:junit) mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildRequires: mvn(org.apache.commons:commons-csv) %description 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 @@ -30,6 +31,10 @@ This package contains the API documentation for %{name}. sed -i 's/\r//' LICENSE.txt sed -i 's/\r//' RELEASE-NOTES.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_file :commons-validator %{short_name} %{name} @@ -46,6 +51,9 @@ sed -i 's/\r//' NOTICE.txt %doc LICENSE.txt NOTICE.txt %changelog +* Tue Dec 12 2023 Ge Wang - 1.7-1 +- Update to version 1.7 + * Tue Nov 15 2022 caodongxia - 1.5.0-3 - Modify invalid source0 diff --git a/commons-validator-1.5.0-src.tar.gz b/commons-validator-1.5.0-src.tar.gz deleted file mode 100644 index 4508a14..0000000 Binary files a/commons-validator-1.5.0-src.tar.gz and /dev/null differ diff --git a/commons-validator-1.7-src.tar.gz b/commons-validator-1.7-src.tar.gz new file mode 100644 index 0000000..b93b985 Binary files /dev/null and b/commons-validator-1.7-src.tar.gz differ