!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
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']" "<optional>true</optional>" 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<wangye54@huawei.com> - 3.2.4-9
- Package init
* Thu Aug 13 2020 Anan Fu <fuanan3@huawei.com> - 3.2.9-1
- package init

4
cglib.yaml Normal file
View File

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