Hello community,

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

Package is "unshield"

Changes:
--------
--- /work/SRC/openSUSE:Factory/unshield/unshield.changes        2011-11-24 
11:37:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.unshield.new/unshield.changes   2015-03-16 
07:01:01.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Mar 13 12:55:22 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Use url for source
+- Update dependencies
+- Do not install .la file
+
+-------------------------------------------------------------------

Old:
----
  unshield-0.6.tar.bz2

New:
----
  unshield-0.6.tar.gz

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

Other differences:
------------------
++++++ unshield.spec ++++++
--- /var/tmp/diff_new_pack.pzQuLG/_old  2015-03-16 07:01:02.000000000 +0100
+++ /var/tmp/diff_new_pack.pzQuLG/_new  2015-03-16 07:01:02.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package unshield
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -18,26 +18,22 @@
 
 %define major 0
 %define libname libunshield
-
-%if 0%{?suse_version} < 1120
-%define        make_install    %makeinstall
-%endif
-
 Name:           unshield
 Version:        0.6
-Release:        6
-License:        MIT
+Release:        0
 Summary:        A Program to Extract InstallShield Cabinet Files
-Url:            http://synce.sourceforge.net/
+License:        MIT
 Group:          Productivity/Archiving/Compression
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-BuildRequires:  libtool pkgconfig
-BuildRequires:  zlib-devel
-
-Source:         %{name}-%{version}.tar.bz2
+Url:            http://synce.sourceforge.net/
+Source:         
http://sourceforge.net/projects/synce/files/Unshield/%{version}/%{name}-%{version}.tar.gz
 Patch0:         unshield-zlib_test.patch
 Patch1:         unshield-0.6-allow_ruu_extract.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  pkg-config
+BuildRequires:  zlib-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Cabinet (.CAB) files are a form of archive, which is used by the
@@ -47,7 +43,6 @@
 See http://synce.sourceforge.net/ for more information.
 
 %package -n %{libname}%{major}
-
 Summary:        A Program to Extract InstallShield Cabinet Files
 Group:          System/Libraries
 Provides:       %{name} = %{version}
@@ -61,11 +56,9 @@
 See http://synce.sourceforge.net/ for more information.
 
 %package -n %{libname}-devel
-
 Summary:        Header files, libraries and development documentation for 
%{libname}
 Group:          Development/Libraries/C and C++
 Requires:       %{libname}%{major} = %{version}
-Requires:       zlib-devel
 
 %description -n %{libname}-devel
 This package contains the header files, static libraries and development
@@ -78,16 +71,18 @@
 %patch1
 
 %build
-autoreconf -f -i
+autoreconf -fi
 export CFLAGS="%{optflags} -DPROTOTYPES"
-%configure --disable-static --disable-rpath --with-pic
+%configure \
+       --disable-static \
+       --disable-rpath \
+       --with-pic
 make %{?_smp_mflags}
 
 %install
-%make_install
-
-%clean
-rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+# do not ship this
+rm %{buildroot}%{_libdir}/%{libname}.la
 
 %post -n %{libname}%{major} -p /sbin/ldconfig
 
@@ -107,7 +102,6 @@
 %defattr(-,root,root)
 %{_includedir}/%{libname}.h
 %{_libdir}/%{libname}.so
-%{_libdir}/%{libname}.la
 %{_libdir}/pkgconfig/%{libname}.pc
 
 %changelog

++++++ unshield-0.6-allow_ruu_extract.patch ++++++
--- /var/tmp/diff_new_pack.pzQuLG/_old  2015-03-16 07:01:02.000000000 +0100
+++ /var/tmp/diff_new_pack.pzQuLG/_new  2015-03-16 07:01:02.000000000 +0100
@@ -2,9 +2,11 @@
 
 http://www.mail-archive.com/[email protected]/msg01806.html
 
---- lib/libunshield.c.orig     2010-06-24 08:28:25.000000000 +0100
-+++ lib/libunshield.c  2010-06-24 08:28:46.000000000 +0100
-@@ -268,8 +268,11 @@
+Index: lib/libunshield.c
+===================================================================
+--- lib/libunshield.c.orig
++++ lib/libunshield.c
+@@ -268,8 +268,11 @@ static bool unshield_read_headers(Unshie
          unshield_error("Failed to read common header from header file %i", i);
          goto error;
        }

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

Reply via email to