Hello community,

here is the log from the commit of package swing-layout for openSUSE:Factory 
checked in at 2012-11-15 09:44:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swing-layout (Old)
 and      /work/SRC/openSUSE:Factory/.swing-layout.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swing-layout", Maintainer is "bnc-team-j...@forge.provo.novell.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/swing-layout/swing-layout.changes        
2011-09-23 12:47:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.swing-layout.new/swing-layout.changes   
2012-11-15 09:44:29.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Nov 14 13:49:51 UTC 2012 - mvysko...@suse.com
+
+- fix build for non-SUSE distros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ swing-layout.spec ++++++
--- /var/tmp/diff_new_pack.QjBr9V/_old  2012-11-15 09:44:30.000000000 +0100
+++ /var/tmp/diff_new_pack.QjBr9V/_new  2012-11-15 09:44:30.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package swing-layout (Version 1.0.3)
+# spec file for package swing-layout
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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,22 +15,34 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           swing-layout
 Summary:        Natural layout for Swing panels
+License:        LGPL-2.1+
 Group:          Development/Languages/Java
 Url:            https://swing-layout.dev.java.net/ 
 Version:        1.0.3
-Release:        12
-License:        LGPL-2.1+
+Release:        0
 BuildRequires:  ant
+# ant variable
+%if ! 0%{?suse_version}
+%define ant JAVA_HOME=/usr/lib/jvm/java ant
+%endif
+%if 0%{?centos_version} || 0%{?fedora}
+BuildRequires:  java-devel >= 1.6.0
+%else
 BuildRequires:  java-devel
-BuildRequires:  jpackage-utils >= 1.5
 BuildRequires:  update-alternatives
+%endif
+BuildRequires:  jpackage-utils >= 1.5
+%if 0%{?mandriva_version}
+BuildRequires:  xml-commons-apis
+BuildRequires:  xml-commons-jaxp-1.3-apis
+BuildRequires:  xml-commons-resolver12
+%else
 BuildRequires:  xml-commons-apis
 BuildRequires:  xml-commons-resolver
+%endif
 Requires:       jre >= 1.5
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -52,7 +64,6 @@
 
 
 %package javadoc
-License:        LGPL-2.1+
 Summary:        Natural layout for Swing panels
 Group:          Development/Languages/Java
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to