Hello community,

here is the log from the commit of package gnu-getopt for openSUSE:Factory 
checked in at 2014-10-07 16:00:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnu-getopt (Old)
 and      /work/SRC/openSUSE:Factory/.gnu-getopt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnu-getopt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnu-getopt/gnu-getopt.changes    2011-09-23 
02:01:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnu-getopt.new/gnu-getopt.changes       
2014-10-07 16:01:34.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Oct  7 08:59:37 UTC 2014 - [email protected]
+
+- Clean up with spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnu-getopt.spec ++++++
--- /var/tmp/diff_new_pack.ByP4fO/_old  2014-10-07 16:01:34.000000000 +0200
+++ /var/tmp/diff_new_pack.ByP4fO/_new  2014-10-07 16:01:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package gnu-getopt (Version 1.0.13)
+# spec file for package gnu-getopt
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,26 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-# icecream 0
-
 
 Name:           gnu-getopt
-BuildRequires:  ant java2-devel-packages xml-commons-apis
-%define name           gnu-getopt
-%define version                1.0.10
-%define release                1jpp
-%define        section         free
 Version:        1.0.13
-Release:        1
+Release:        0
 Summary:        Java getopt Implementation
 License:        LGPL-2.1+
+Group:          Development/Libraries/Java
 Url:            http://www.urbanophile.com/arenn/hacking/download.html
 Source0:        
ftp://ftp.urbanophile.com/pub/arenn/software/sources/java-getopt-%{version}.tar.bz2
-Patch:          %{name}-java14compat.patch
-Group:          Development/Libraries/Java
-BuildArch:      noarch
+Patch0:         %{name}-java14compat.patch
+BuildRequires:  ant
+BuildRequires:  java2-devel-packages
+BuildRequires:  xml-commons-apis
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
 
 %description
 The GNU Java getopt classes support short and long argument parsing in
@@ -42,11 +37,7 @@
 with a mostly compatible programmer's interface as well. Note that this
 is a port, not a new implementation.
 
-
-
 %package javadoc
-License:        LGPL-2.1+
-PreReq:         coreutils
 Summary:        Javadoc for gnu.getopt
 Group:          Development/Libraries/Java
 
@@ -59,37 +50,23 @@
 This package contains the javadoc documentation for the GNU Java getopt
 classes.
 
-
-
 %prep
 %setup -q -c
-%patch 
+%patch0
 # Aaron, where did you put my build script :-) ?
 mv gnu/getopt/buildx.xml build.xml
 
 %build
-%ant jar javadoc
+ant jar javadoc
 
 %install
 # jars
-%__mkdir_p %{buildroot}%{_javadir}
-%__install -m 644 build/lib/gnu.getopt.jar 
%{buildroot}%{_javadir}/gnu.getopt-%{version}.jar
-(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do %__ln_s ${jar} 
${jar/-%{version}/}; done)
+mkdir -p %{buildroot}%{_javadir}
+install -m 644 build/lib/gnu.getopt.jar 
%{buildroot}%{_javadir}/gnu.getopt-%{version}.jar
+(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -s ${jar} 
${jar/-%{version}/}; done)
 # javadoc
-%__mkdir_p %{buildroot}%{_javadocdir}/%{name}-%{version}
-%__cp -a build/api/* %{buildroot}%{_javadocdir}/%{name}-%{version}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post javadoc
-%__rm -f %{_javadocdir}/%{name}
-%__ln_s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ "$1" = "0" ]; then
-    %__rm -f %{_javadocdir}/%{name}
-fi
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -a build/api/* %{buildroot}%{_javadocdir}/%{name}
 
 %files
 %defattr(0644,root,root,0755)
@@ -98,6 +75,6 @@
 
 %files javadoc
 %defattr(0644,root,root,0755)
-%{_javadocdir}/%{name}-%{version}
+%{_javadocdir}/%{name}
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to