forked from pool/cglib
Accepting request 496515 from home:pluskalm:branches:Java:packages
- Update package dependencies OBS-URL: https://build.opensuse.org/request/show/496515 OBS-URL: https://build.opensuse.org/package/show/Java:packages/cglib?expand=0&rev=12
This commit is contained in:
parent
7f0ed982da
commit
48c631ced7
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 19 08:51:39 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update package dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 18 09:46:05 UTC 2015 - tchvatal@suse.com
|
Wed Mar 18 09:46:05 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
19
cglib.spec
19
cglib.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cglib
|
# spec file for package cglib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -17,28 +17,27 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cglib
|
Name: cglib
|
||||||
|
Version: 2.2
|
||||||
|
Release: 0
|
||||||
Summary: Code Generation Library
|
Summary: Code Generation Library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Version: 2.2
|
|
||||||
Release: 0
|
|
||||||
Url: http://cglib.sourceforge.net/
|
Url: http://cglib.sourceforge.net/
|
||||||
Source0: %{name}-src-%{version}.jar
|
Source0: %{name}-src-%{version}.jar
|
||||||
Source1: /%{name}-%{version}.pom
|
Source1: /%{name}-%{version}.pom
|
||||||
# Remove the repackaging step that includes other jars into the final thing
|
# Remove the repackaging step that includes other jars into the final thing
|
||||||
Patch0: %{name}-build_xml.patch
|
Patch0: %{name}-build_xml.patch
|
||||||
BuildArch: noarch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
BuildRequires: ant >= 1.6
|
BuildRequires: ant >= 1.6
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: java-devel >= 1.6.0
|
BuildRequires: java-devel >= 1.6.0
|
||||||
|
# Needed for maven conversions
|
||||||
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: objectweb-asm
|
BuildRequires: objectweb-asm
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
|
|
||||||
Provides: %{name}-nohook = %{version}-%{release}
|
Provides: %{name}-nohook = %{version}-%{release}
|
||||||
Obsoletes: %{name}-nohook < %{version}-%{release}
|
Obsoletes: %{name}-nohook < %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cglib is a powerful, high performance and quality Code Generation
|
cglib is a powerful, high performance and quality Code Generation
|
||||||
@ -55,7 +54,7 @@ Library, It is used to extend JAVA classes and implements interfaces at
|
|||||||
runtime.
|
runtime.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -T -c -n %{name}
|
%setup -q -T -c -n %{name}
|
||||||
unzip -q %{SOURCE0}
|
unzip -q %{SOURCE0}
|
||||||
rm lib/*.jar
|
rm lib/*.jar
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -70,8 +69,8 @@ mkdir -p %{buildroot}%{_javadir}
|
|||||||
cp -p dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
cp -p dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_javadocdir}/
|
mkdir -p %{buildroot}%{_javadocdir}/
|
||||||
cp -r docs ${RPM_BUILD_ROOT}%{_javadocdir}/%{name}
|
cp -r docs %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
#maven pom
|
#maven pom
|
||||||
mkdir -p %{buildroot}%{_mavenpomdir}
|
mkdir -p %{buildroot}%{_mavenpomdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user