!2 package upgrade

Merge pull request !2 from 付安安/master
This commit is contained in:
openeuler-ci-bot 2020-08-18 17:12:17 +08:00 committed by Gitee
commit 12dc6b9a3e
4 changed files with 23 additions and 27 deletions

Binary file not shown.

BIN
RELEASE_3_2_9.tar.gz Normal file

Binary file not shown.

View File

@ -1,31 +1,26 @@
Name: cglib %global tarball_name RELEASE_3_2_9
Version: 3.2.4 Name: cglib
Release: 9 Version: 3.2.9
Summary: Code Generation Library for Java Release: 1
License: ASL 2.0 and BSD Summary: Code Generation Library for Java
URL: https://github.com/cglib/cglib License: ASL 2.0 and BSD
Source0: https://github.com/cglib/cglib/archive/RELEASE_3_2_4.tar.gz URL: https://github.com/cglib/cglib
BuildArch: noarch 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: 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:) BuildRequires: mvn(org.ow2.asm:asm) mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
%description %description
cglib is a powerful, high performance and quality code generation library cglib is a powerful, high performance and quality code generation library
for Java. It is used to extend Java classes and implements interfaces for Java. It is used to extend Java classes and implements interfaces
at run-time. at run-time.
%package help %package javadoc
Summary: API documentation for cglib Summary: Javadoc for %{name}
Provides: %{name}-javadoc = %{version}-%{release} %description javadoc
Obsoletes: %{name}-javadoc < %{version}-%{release} Documentation for the cglib code generation library.
%description help
The help for cglib to use.
%prep %prep
%autosetup -n %{name}-RELEASE_3_2_4 -p1 %setup -q -n %{name}-%{tarball_name}
%pom_disable_module cglib-nodep %pom_disable_module cglib-nodep
%pom_disable_module cglib-integration-test %pom_disable_module cglib-integration-test
%pom_disable_module cglib-jmh %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-gpg-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
%pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-javadoc-plugin
%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "<optional>true</optional>" cglib %pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "<optional>true</optional>" cglib
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib" %mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
%build %build
@ -60,10 +53,9 @@ The help for cglib to use.
%files -f .mfiles %files -f .mfiles
%license LICENSE NOTICE %license LICENSE NOTICE
%files help -f .mfiles-javadoc %files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE %license LICENSE NOTICE
%changelog %changelog
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 3.2.4-9 * Thu Aug 13 2020 Anan Fu <fuanan3@huawei.com> - 3.2.9-1
- Package init - package init

4
cglib.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: cglib/cglib
tag_prefix: "^"
seperator: "."