Hello community, here is the log from the commit of package unshield for openSUSE:Factory checked in at 2017-05-16 14:43:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unshield (Old) and /work/SRC/openSUSE:Factory/.unshield.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unshield" Tue May 16 14:43:44 2017 rev:26 rq:494538 version:1.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/unshield/unshield.changes 2016-06-09 16:16:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.unshield.new/unshield.changes 2017-05-16 14:44:46.702306265 +0200 @@ -1,0 +2,13 @@ +Thu May 11 08:48:13 UTC 2017 - [email protected] + +- Update to version 1.4.2: + * exit run-tests.sh with non-zero if there were failed tests +- Changes for 1.4.1: + * Security and distro fixes +- Changes for 1.4.0: + * Including fix for CVE-2015-1386 (boo#915181) +- Drop upstreamed patch: + * libconvert_utf_static.patch +- Some packaging cleanups + +------------------------------------------------------------------- Old: ---- 1.3.tar.gz libconvert_utf_static.patch New: ---- unshield-1.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unshield.spec ++++++ --- /var/tmp/diff_new_pack.Y59X41/_old 2017-05-16 14:44:47.314220286 +0200 +++ /var/tmp/diff_new_pack.Y59X41/_new 2017-05-16 14:44:47.314220286 +0200 @@ -1,7 +1,7 @@ # # spec file for package unshield # -# Copyright (c) 2016 SUSE LINUX 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 @@ -16,94 +16,78 @@ # -%define major 1_3 -%define libname lib%{name} +%define sover 0 +%define libname lib%{name}%{sover} Name: unshield -Version: 1.3 +Version: 1.4.2 Release: 0 Summary: A Program to Extract InstallShield Cabinet Files License: MIT Group: Productivity/Archiving/Compression Url: https://github.com/twogood/unshield -Source0: https://github.com/twogood/unshield/archive/%{version}.tar.gz -Patch0: libconvert_utf_static.patch +Source0: https://github.com/twogood/unshield/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM armv7l-fpic.patch [email protected] -- fix armv7l build Patch1: armv7l-fpic.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Cabinet (.CAB) files are a form of archive, which is used by the InstallShield installer software. The unshield program simply unpacks such files. This is the binary executable. -See http://synce.sourceforge.net/ for more information. - -%package -n %{libname}%{major} +%package -n %{libname} Summary: A Program to Extract InstallShield Cabinet Files Group: System/Libraries -Provides: %{name} = %{version} -Obsoletes: %{name} < %{version} -%description -n %{libname}%{major} +%description -n %{libname} Cabinet (.CAB) files are a form of archive, which is used by the InstallShield installer software. The unshield program simply unpacks such files. This is the shared library. -See http://synce.sourceforge.net/ for more information. - -%package -n %{libname}-devel +%package devel Summary: Header files, libraries and development documentation for %{libname} Group: Development/Libraries/C and C++ -Requires: %{libname}%{major} = %{version} +Requires: %{libname} = %{version} +Provides: lib%{name} = %{version} +Obsoletes: lib%{name} < %{version} -%description -n %{libname}-devel +%description devel This package contains the header files, static libraries and development documentation for %{libname}. If you like to develop programs using %{libname}, -you will need to install %{libname}-devel. +you will need to install %{name}-devel. %prep %setup -q -%patch0 -p1 -%patch1 -p1 +%patch1 %build %cmake -# necessary for out of tree build -ln -s \ - %{_builddir}/%{name}-%{version}/build/lib/unshield_config.h \ - %{_builddir}/%{name}-%{version}/lib/unshield_config.h make %{?_smp_mflags} %install -# necessary for out of tree build -cp \ - %{_builddir}/%{name}-%{version}/build/libunshield.pc \ - %{_builddir}/%{name}-%{version}/libunshield.pc %cmake_install -%post -n %{libname}%{major} -p /sbin/ldconfig - -%postun -n %{libname}%{major} -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc README.md LICENSE %{_bindir}/%{name} -%{_mandir}/*/%{name}.*.gz +%{_mandir}/man1/%{name}.1%{ext_man} -%files -n %{libname}%{major} +%files -n %{libname} %defattr(-,root,root) -%{_libdir}/%{libname}.so.* +%{_libdir}/lib%{name}.so.%{sover}* -%files -n %{libname}-devel +%files devel %defattr(-,root,root) -%{_includedir}/%{libname}.h -%{_libdir}/%{libname}.so -%{_libdir}/pkgconfig/%{libname}.pc +%{_includedir}/lib%{name}.h +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/lib%{name}.pc %changelog ++++++ armv7l-fpic.patch ++++++ --- /var/tmp/diff_new_pack.Y59X41/_old 2017-05-16 14:44:47.346215789 +0200 +++ /var/tmp/diff_new_pack.Y59X41/_new 2017-05-16 14:44:47.350215228 +0200 @@ -1,14 +1,14 @@ -Index: unshield-1.3/CMakeLists.txt +Index: CMakeLists.txt =================================================================== ---- unshield-1.3.orig/CMakeLists.txt -+++ unshield-1.3/CMakeLists.txt -@@ -63,6 +63,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI - if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") - add_definitions(-fPIC) +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -51,6 +51,9 @@ if (${OPENSSL_FOUND}) + else() + option(USE_OUR_OWN_MD5 "Build using own md5 implementation" ON) endif() +if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "armv7l") + add_definitions(-fPIC) +endif() - add_subdirectory(lib) - add_subdirectory(src) + message(STATUS "OPENSSL_FOUND: ${OPENSSL_FOUND}") + message(STATUS "USE_OUR_OWN_MD5: ${USE_OUR_OWN_MD5}")
