commit asm for openSUSE:Factory
Hello community, here is the log from the commit of package asm for openSUSE:Factory checked in at 2017-05-31 13:32:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/asm (Old) and /work/SRC/openSUSE:Factory/.asm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "asm" Wed May 31 13:32:02 2017 rev:17 rq:496987 version:1.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/asm/asm.changes 2013-07-18 15:48:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.asm.new/asm.changes 2017-05-31 13:32:03.480775240 +0200 @@ -1,0 +2,6 @@ +Sat May 20 18:43:47 UTC 2017 - tchvatal@suse.com + +- Run over with spec-cleaner +- Remove obsolete deps + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ asm.spec ++++++ --- /var/tmp/diff_new_pack.lYvEGG/_old 2017-05-31 13:32:04.072691806 +0200 +++ /var/tmp/diff_new_pack.lYvEGG/_new 2017-05-31 13:32:04.076691241 +0200 @@ -1,7 +1,7 @@ # # spec file for package asm # -# Copyright (c) 2013 SUSE LINUX Products 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 @@ -14,15 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# icecream 0 Name: asm -BuildRequires: ant -BuildRequires: java2-devel-packages -BuildRequires: objectweb-anttask -BuildRequires: xml-commons-apis -%define section free Version: 1.5.3 Release: 0 Summary: Java bytecode manipulation framework @@ -32,9 +26,12 @@ Source0: http://download.us.forge.objectweb.org/asm/asm-1.5.3.tar.gz Source1: http://asm.objectweb.org/current/asm-eng.pdf Source2: http://asm.objectweb.org/doc/faq.html -Patch: %{name}-java14compat.patch -BuildArch: noarch +Patch0: %{name}-java14compat.patch +BuildRequires: ant +BuildRequires: objectweb-anttask +BuildRequires: xml-commons-apis BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description ASM is a Java bytecode manipulation framework. @@ -47,21 +44,16 @@ ASM offers similar functionalities as BCEL or SERP, but is much smaller. - - %package javadoc -PreReq: coreutils Summary: Java bytecode manipulation framework (documentation) Group: Development/Libraries/Java %description javadoc Javadoc for asm. - - %prep -%setup -q -n %{name}-%{version} -%patch +%setup -q +%patch0 find . -name "*.jar" -exec rm -f {} \; install -m 644 %{SOURCE1} . install -m 644 %{SOURCE2} . @@ -71,26 +63,16 @@ %install # jars -install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} +install -d -m 755 %{buildroot}%{_javadir}/%{name} for jar in output/dist/lib/*.jar; do install -m 644 ${jar} \ -$RPM_BUILD_ROOT%{_javadir}/%{name}/`basename ${jar}` +%{buildroot}%{_javadir}/%{name}/`basename ${jar}` done -(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; do \ +(cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{version}*; do \ ln -sf ${jar} ${jar/-%{version}/}; done) # javadoc -install -p -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -cp -pr output/dist/doc/javadoc/user/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} -(cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name}) - -%post javadoc -rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} - -%postun javadoc -if [ $1 -eq 0 ]; then - rm -f %{_javadocdir}/%{name} -fi +install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr output/dist/doc/javadoc/user/* %{buildroot}%{_javadocdir}/%{name} %files %defattr(0644,root,root,0755) @@ -100,8 +82,7 @@ %files javadoc %defattr(0644,root,root,0755) -%dir %{_javadocdir}/%{name}-%{version} -%{_javadocdir}/%{name}-%{version}/* -%ghost %{_javadocdir}/%{name} +%dir %{_javadocdir}/%{name} +%{_javadocdir}/%{name}/* %changelog
participants (1)
-
root@hilbert.suse.de