!4 Update to 1.3.0

From: @starlet-dx 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-08-21 12:25:45 +00:00 committed by Gitee
commit 95dc9535c1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 12 additions and 2 deletions

Binary file not shown.

BIN
1.3.0.Final.tar.gz Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-classfilewriter
Version: 1.2.5
Version: 1.3.0
Release: 1
Summary: JBoss Class File Writer
License: Apache-2.0
@ -11,6 +11,10 @@ Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
BuildRequires: java-11-openjdk-devel
Requires: java-11-openjdk
Requires: javapackages-tools
%description
This package contains JBoss Class File Writer
@ -22,11 +26,14 @@ Obsoletes: %{name}-javadoc < %{version}-%{release}
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{namedversion}
%autosetup -n %{name}-%{namedversion} -p1
cp -p %{SOURCE1} LICENSE
sed -i 's/\r//' LICENSE
%build
export JAVA_HOME=%{_jvmdir}/java-11-openjdk
export CFLAGS="${RPM_OPT_FLAGS}"
export CXXFLAGS="${RPM_OPT_FLAGS}"
%mvn_build
%install
@ -39,6 +46,9 @@ sed -i 's/\r//' LICENSE
%license LICENSE
%changelog
* Mon Aug 21 2023 yaoxin <yao_xin001@hoperun.com> - 1.3.0-1
- Update to 1.3.0
* Thu May 19 2022 Ge Wang <wangge20@h-partners.com> - 1.2.5-1
- upgrade to version 1.2.5