- updated to 1.9 master auto/th/cabextract-1.9-1
authorAdam Gołębiowski <adamg@pld-linux.org>
Fri, 16 Nov 2018 06:43:36 +0000 (07:43 +0100)
committerAdam Gołębiowski <adamg@pld-linux.org>
Fri, 16 Nov 2018 06:43:36 +0000 (07:43 +0100)
cabextract-libmspack-headers-path.patch [new file with mode: 0644]
cabextract.spec

diff --git a/cabextract-libmspack-headers-path.patch b/cabextract-libmspack-headers-path.patch
new file mode 100644 (file)
index 0000000..9272b2c
--- /dev/null
@@ -0,0 +1,14 @@
+--- cabextract-1.9/src/cabinfo.c~      2018-10-31 11:06:12.000000000 +0100
++++ cabextract-1.9/src/cabinfo.c       2018-11-16 07:41:46.199355355 +0100
+@@ -25,9 +25,9 @@
+ #include <sys/types.h>
+ /* include <system.h> from libmspack for LD and EndGetI?? macros */
+-#include <mspack/system.h>
++#include <libmspack/system.h>
+ /* include <cab.h> from libmspack for cab structure offsets */
+-#include <mspack/cab.h>
++#include <libmspack/cab.h>
+ #if HAVE_FSEEKO
+ # define FSEEK fseeko
index 6a3d2f9..c075d7c 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       A program to extract Microsoft Cabinet files
 Summary(pl.UTF-8):     Program do rozpakowywania plików MS Cabinet
 Name:          cabextract
-Version:       1.8
+Version:       1.9
 Release:       1
 License:       GPL v2+
 Group:         Applications/Archiving
 Source0:       http://www.cabextract.org.uk/%{name}-%{version}.tar.gz
-# Source0-md5: e16660a9769423bf438233f87a6667a2
+# Source0-md5: c38f4d1920dd4f597c707f16273ad480
+Patch0:                %{name}-libmspack-headers-path.patch
 URL:           http://www.cabextract.org.uk/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
@@ -26,6 +27,7 @@ cabextract może takie pliki rozpakować.
 
 %prep
 %setup -q
+%patch0 -p1
 # make sure we use system libmspack
 %{__rm} -r mspack
 
@@ -39,6 +41,8 @@ cabextract może takie pliki rozpakować.
        --with-external-libmspack
 %{__make}
 
+%{__make} check
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.170578 seconds and 4 git commands to generate.