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
|
||||
|
||||
|
19
cglib.spec
19
cglib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,28 +17,27 @@
|
||||
|
||||
|
||||
Name: cglib
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Summary: Code Generation Library
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Url: http://cglib.sourceforge.net/
|
||||
Source0: %{name}-src-%{version}.jar
|
||||
Source1: /%{name}-%{version}.pom
|
||||
# Remove the repackaging step that includes other jars into the final thing
|
||||
Patch0: %{name}-build_xml.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: ant >= 1.6
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
# Needed for maven conversions
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: objectweb-asm
|
||||
BuildRequires: unzip
|
||||
|
||||
Provides: %{name}-nohook = %{version}-%{release}
|
||||
Obsoletes: %{name}-nohook < %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -T -c -n %{name}
|
||||
%setup -q -T -c -n %{name}
|
||||
unzip -q %{SOURCE0}
|
||||
rm lib/*.jar
|
||||
%patch0 -p1
|
||||
@ -70,8 +69,8 @@ mkdir -p %{buildroot}%{_javadir}
|
||||
cp -p dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
# javadoc
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_javadocdir}/
|
||||
cp -r docs ${RPM_BUILD_ROOT}%{_javadocdir}/%{name}
|
||||
mkdir -p %{buildroot}%{_javadocdir}/
|
||||
cp -r docs %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
#maven pom
|
||||
mkdir -p %{buildroot}%{_mavenpomdir}
|
||||
|
Loading…
Reference in New Issue
Block a user