Fridrich Strba 2023-09-12 12:35:06 +00:00 committed by Git OBS Bridge
parent 6b335deeb1
commit bbb400f892
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 12 12:35:00 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Simplify and clean-up the spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 27 07:43:03 UTC 2022 - Fridrich Strba <fstrba@suse.com> Wed Apr 27 07:43:03 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package cglib # spec file for package cglib
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
# #
%bcond_with tests
%global tarball_name RELEASE_3_3_0 %global tarball_name RELEASE_3_3_0
Name: cglib Name: cglib
Version: 3.3.0 Version: 3.3.0
@ -32,14 +31,9 @@ BuildRequires: fdupes
BuildRequires: java-devel >= 1.8 BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local >= 6 BuildRequires: javapackages-local >= 6
BuildRequires: objectweb-asm >= 5 BuildRequires: objectweb-asm >= 5
Requires: mvn(org.ow2.asm:asm)
Provides: %{name}-nohook = %{version}-%{release} Provides: %{name}-nohook = %{version}-%{release}
Obsoletes: %{name}-nohook < %{version}-%{release} Obsoletes: %{name}-nohook < %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%if %{with tests}
BuildRequires: ant-junit
BuildConflicts: java-devel >= 9
%endif
%description %description
cglib is a powerful, high performance and quality Code Generation cglib is a powerful, high performance and quality Code Generation
@ -85,9 +79,7 @@ runtime.
mkdir -p lib mkdir -p lib
build-jar-repository -s -p lib objectweb-asm/asm ant/ant ant/ant-launcher build-jar-repository -s -p lib objectweb-asm/asm ant/ant ant/ant-launcher
%{ant} \ %{ant} \
%if %{without tests}
-Dtest.skip=true \ -Dtest.skip=true \
%endif
-Dcompiler.target=1.8 -Dcompiler.source=1.8 \ -Dcompiler.target=1.8 -Dcompiler.source=1.8 \
package javadoc package javadoc