forked from pool/objectweb-asm
Accepting request 496734 from home:DZiolkowski:branches:Java:packages
- New build dependency: javapackages-local - cleaned spec using spec-cleaner - remove "section free" macro - get rid of %if 0 blocks OBS-URL: https://build.opensuse.org/request/show/496734 OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=33
This commit is contained in:
committed by
Git OBS Bridge
parent
fadf8039ea
commit
feb1f6f0ba
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 12:01:04 UTC 2017 - dziolkowski@suse.com
|
||||
|
||||
- New build dependency: javapackages-local
|
||||
- cleaned spec using spec-cleaner
|
||||
- remove "section free" macro
|
||||
- get rid of %if 0 blocks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 18 09:46:18 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package objectweb-asm
|
||||
#
|
||||
# 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
|
||||
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define section free
|
||||
|
||||
Name: objectweb-asm
|
||||
Version: 3.3.1
|
||||
Release: 0
|
||||
@@ -36,17 +34,17 @@ Source7: http://repo1.maven.org/maven2/asm/asm-all/3.3.1/asm-all-3.3.1.po
|
||||
Source8: http://repo1.maven.org/maven2/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom
|
||||
Source9: asm-MANIFEST.MF
|
||||
Patch0: objectweb-asm-no-classpath-in-manifest.patch
|
||||
# Needed by asm-xml.jar
|
||||
Requires: xml-commons-apis
|
||||
PreReq: javapackages-tools
|
||||
BuildRequires: ant >= 1.6.5
|
||||
BuildRequires: java-1_5_0-gcj-compat-devel
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: objectweb-anttask
|
||||
BuildRequires: xml-commons-apis
|
||||
BuildRequires: zip
|
||||
BuildArch: noarch
|
||||
# Needed by asm-xml.jar
|
||||
Requires: xml-commons-apis
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
ASM is a Java bytecode manipulation framework.
|
||||
@@ -59,23 +57,6 @@ Machine.
|
||||
ASM offers similar functionalities as BCEL or SERP, but is much
|
||||
smaller.
|
||||
|
||||
%if 0
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description javadoc
|
||||
ASM is a Java bytecode manipulation framework.
|
||||
|
||||
It can be used to dynamically generate stub classes or other proxy
|
||||
classes, directly in binary form, or to dynamically modify classes at
|
||||
load time, i.e., just before they are loaded into the Java Virtual
|
||||
Machine.
|
||||
|
||||
ASM offers similar functionalities as BCEL or SERP, but is much
|
||||
smaller.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n asm-%{version}
|
||||
%patch0 -p1
|
||||
@@ -125,12 +106,6 @@ install -m 644 %{SOURCE7} %{buildroot}%{_mavenpomdir}/JPP.objectweb-asm-asm-all.
|
||||
install -m 644 %{SOURCE8} %{buildroot}%{_mavenpomdir}/JPP.objectweb-asm-asm-parent.pom
|
||||
%add_maven_depmap JPP.objectweb-asm-asm-all.pom %{name}/asm-all.jar
|
||||
|
||||
%if 0
|
||||
# javadoc
|
||||
install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr output/dist/doc/javadoc/user/* %{buildroot}%{_javadocdir}/%{name}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc LICENSE.txt README.txt
|
||||
@@ -139,10 +114,4 @@ cp -pr output/dist/doc/javadoc/user/* %{buildroot}%{_javadocdir}/%{name}
|
||||
%{_mavenpomdir}/*
|
||||
%{_datadir}/maven-metadata/%{name}.xml*
|
||||
|
||||
%if 0
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user