From 93c0e26503d5bb3681d641b1c779eb6f870d3c5b Mon Sep 17 00:00:00 2001 From: shaojiansong Date: Thu, 7 Nov 2024 10:49:54 +0800 Subject: [PATCH] fix issue #I4ZQCA and update spec file --- apache-commons-cli.spec | 9 ++++++--- apache-commons-cli.yaml | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 apache-commons-cli.yaml diff --git a/apache-commons-cli.spec b/apache-commons-cli.spec index 1240a90..c1bc834 100644 --- a/apache-commons-cli.spec +++ b/apache-commons-cli.spec @@ -1,11 +1,11 @@ Name: apache-commons-cli Version: 1.4 -Release: 7 +Release: 8 Summary: CLI Library provides an API for Java License: ASL 2.0 -URL: http://commons.apache.org/cli/ +URL: https://commons.apache.org/proper/commons-cli/ BuildArch: noarch -Source0: https://archive.apache.org/dist/commons/cli/source/commons-cli-%{version}-src.tar.gz +Source0: https://dlcdn.apache.org/commons/cli/source/commons-cli-%{version}-src.tar.gz Patch0001: CLI-253-workaround.patch BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) @@ -41,6 +41,9 @@ API documentation for apache-commons-cli. %doc README.md RELEASE-NOTES.txt %changelog +* Thu Nov 07 2024 shaojiansong - 1.4-8 +- Update project url and source download url + * Wed Nov 16 2022 yaoxin - 1.4-7 - Modify invalid Source diff --git a/apache-commons-cli.yaml b/apache-commons-cli.yaml new file mode 100644 index 0000000..cd747eb --- /dev/null +++ b/apache-commons-cli.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/apache/commons-cli.git +version_control: github +src_repo: apache/commons-cli +tag_prefix: "^cli-" +seperator: "." -- Gitee