diff --git a/RELEASE_3_2_4.tar.gz b/RELEASE_3_2_4.tar.gz deleted file mode 100644 index 02e78b5..0000000 Binary files a/RELEASE_3_2_4.tar.gz and /dev/null differ diff --git a/RELEASE_3_2_9.tar.gz b/RELEASE_3_2_9.tar.gz new file mode 100644 index 0000000..8add2e5 Binary files /dev/null and b/RELEASE_3_2_9.tar.gz differ diff --git a/cglib.spec b/cglib.spec index 806608d..a4c9b87 100644 --- a/cglib.spec +++ b/cglib.spec @@ -1,31 +1,26 @@ -Name: cglib -Version: 3.2.4 -Release: 9 -Summary: Code Generation Library for Java -License: ASL 2.0 and BSD -URL: https://github.com/cglib/cglib -Source0: https://github.com/cglib/cglib/archive/RELEASE_3_2_4.tar.gz -BuildArch: noarch - -BuildRequires: maven-local maven-plugin-bundle javapackages-local mvn(org.apache.ant:ant) -BuildRequires: mvn(org.ow2.asm:asm) mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:) - +%global tarball_name RELEASE_3_2_9 +Name: cglib +Version: 3.2.9 +Release: 1 +Summary: Code Generation Library for Java +License: ASL 2.0 and BSD +URL: https://github.com/cglib/cglib +Source0: https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz +BuildArch: noarch +BuildRequires: maven-local maven-plugin-bundle javapackages-local mvn(org.apache.ant:ant) +BuildRequires: mvn(org.ow2.asm:asm) mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:) %description cglib is a powerful, high performance and quality code generation library for Java. It is used to extend Java classes and implements interfaces at run-time. -%package help -Summary: API documentation for cglib -Provides: %{name}-javadoc = %{version}-%{release} -Obsoletes: %{name}-javadoc < %{version}-%{release} - -%description help -The help for cglib to use. +%package javadoc +Summary: Javadoc for %{name} +%description javadoc +Documentation for the cglib code generation library. %prep -%autosetup -n %{name}-RELEASE_3_2_4 -p1 - +%setup -q -n %{name}-%{tarball_name} %pom_disable_module cglib-nodep %pom_disable_module cglib-integration-test %pom_disable_module cglib-jmh @@ -46,9 +41,7 @@ The help for cglib to use. %pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample %pom_remove_plugin -r :maven-javadoc-plugin - %pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "true" cglib - %mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib" %build @@ -60,10 +53,9 @@ The help for cglib to use. %files -f .mfiles %license LICENSE NOTICE -%files help -f .mfiles-javadoc +%files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog -* Thu Nov 14 2019 wangye - 3.2.4-9 -- Package init - +* Thu Aug 13 2020 Anan Fu - 3.2.9-1 +- package init diff --git a/cglib.yaml b/cglib.yaml new file mode 100644 index 0000000..b6032c8 --- /dev/null +++ b/cglib.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: cglib/cglib +tag_prefix: "^" +seperator: "."