Revisions of sblim-cim-client

Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 11)
limit java to 11 or lower
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 10)
- Fix build with openjdk9: cim-client.patch
--This line, and those below, will be ignored--

A    cim-client.patch
M    sblim-cim-client.changes
M    sblim-cim-client.spec

Diff for working copy: .
Index: sblim-cim-client.changes
===================================================================

--- sblim-cim-client.changes	(revision 9)
+++ sblim-cim-client.changes	(working copy)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Nov 29 12:30:19 UTC 2017 - kkaempf@suse.com
+
+- Fix build with openjdk9: cim-client.patch
+
 -------------------------------------------------------------------
 Thu Jun 25 13:07:45 UTC 2015 - mvetter@suse.com
 

Index: sblim-cim-client.spec
===================================================================

--- sblim-cim-client.spec	(revision 9)
+++ sblim-cim-client.spec	(working copy)
@@ -35,6 +35,9 @@
 Source:         http://downloads.sourceforge.net/project/sblim/%{name}/%{version}/%{name}-%{version}-src.zip
 Source1:        http://downloads.sourceforge.net/project/sblim/%{name}/%{version}/%{name}-samples-%{version}-src.zip
 Source2:        http://downloads.sourceforge.net/project/sblim/%{name}/%{version}/%{name}-%{version}-doc.zip
+%if 0%{?suse_version} > 1200
+Patch1:         cim-client.patch
+%endif
 BuildRequires:  ant >= 1.6
 BuildRequires:  dos2unix
 BuildRequires:  java-devel
@@ -83,6 +86,9 @@
 #sources
 %setup -q -n %{project_folder} -b0 -T -D
 rm version.txt COPYING ChangeLog NEWS README
+%if 0%{?suse_version} > 1200
+%patch1 -p1
+%endif
 
 #samples
 %setup -q -b1 -T -D -n %{project_folder}

Index: cim-client.patch
===================================================================
--- cim-client.patch	(revision 0)
+++ cim-client.patch	(revision 0)
@@ -0,0 +1,12 @@
+diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cim-client/build.xml ./build.xml
+--- ../orig-cim-client/build.xml	2011-10-31 16:56:42.000000000 +0100
++++ ./build.xml	2017-11-29 13:28:53.874640325 +0100
+@@ -87,7 +87,7 @@
+         <mkdir dir="${builddir}/build"/>
+     	<mkdir dir="${basedir}/lib"/>
+ 
+-        <javac srcdir="${basedir}" destdir="${builddir}/build" listfiles="true" debug="on" encoding="utf-8" source="1.4" target="1.4">
++        <javac srcdir="${basedir}" destdir="${builddir}/build" listfiles="true" debug="on" encoding="utf-8" source="1.6" target="1.6">
+             <classpath refid="project.classpath"/>
+         </javac>
+     </target>
Klaus Kämpf's avatar Klaus Kämpf (kwk) accepted request 313678 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 9)
- Update URL
Klaus Kämpf's avatar Klaus Kämpf (kwk) accepted request 312516 from Michael Vetter's avatar Michael Vetter (jubalh) (revision 8)
- Cleaned up spec with spec-cleaner
- Changed from tarball to source url
- Removed useless conditionals for non SUSE systems
- Fixed license description for doc and samples packages
- Removed overly complex handmade dos2unix conversation and
  used proper simple one
- Updated to version 1.3.9.3
  * Need to support property file on AIX.
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 7)
fix SLES 10 SP4 build
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 6)
- Fix Centos, Fedora and Rhel builds
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 5)
fix dos2unix calls
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 4)
fix the build
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 3)
add unzip, get right Java on Fedora
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 2)
update-alternatives only on SUSE
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 1)
- Update to 1.3.9.2
  3078216 Fix for a null pointer exception in 1.3.9.1
- Changes in 1.3.9.1
  2832736 CIM Client does not recognize HTTP extension headers
- Changes in 1.3.9
  2807325 Change licensing from CPL to EPL
- Changes in 1.3.8
  2414525 SLPConfig : parseList not returning populated list
  2382765 HTTP header field Accept-Language does not include *
  2372679 Add property to control synchronized SSL handshaking
  2219646 Fix / clean code to remove compiler warnings
- Changes in 1.3.7
  1984588 HttpClient not closed on cimclient close
  2023050 DateTime object not accounting for microseconds correctly
  1931266 M-POST not supported in java-client
- Changes in 1.3.6
  1992321 1.3.6 packaging issues
  1954059 wrong path in CIMNameSpace URI
  1954069 connection leak and exception in CIMClientXML
  1960994 CIMSimpleDateTime.setDay() TODO and bad exception info
  1960934 CIMDateTime(Calendar) does not respect DST
  1901290 SLP error: "java.io.IOException" on Linux and IPv6
  1913348 malformed service URL crashes SLP discovery
  1931096 remove dependency of slpclient on cimclient classes
  1931332 In HTTPClient need to get status before closing connection
  1893499 no CIMExeption thrown for wrong namespace using SAXParser
- Changes in 1.3.5
  1892041 Basic/digest authentication problem for Japanese users
  1874440 sblimSLPclient PARSE ERROR
  1835847 property for configuration file location
Displaying all 11 revisions
openSUSE Build Service is sponsored by