File project.diff of Package mingw32-lcms

--- mingw32-lcms.spec.orig
+++ mingw32-lcms.spec
@@ -25,6 +25,8 @@ Group:          Development/Libraries/C
 Url:            http://www.littlecms.com
 Source:         http://www.littlecms.com/lcms-%{version}.tar.gz
 Patch1:         lcms-1.17-windows.patch
+Patch1000:      lcms-1.18-wix.patch
+
 #!BuildIgnore: post-build-checks
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -40,6 +42,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 %_mingw32_package_header_debug
 BuildArch:      noarch
 
+BuildRequires:  wixwine
+
 %description
 Little cms is a small speed optimized color management engine.
 
@@ -65,13 +69,14 @@ to develop applications that require the
 %setup -q -n lcms-%{version}
 
 %patch1 -p1 -b .windows
+%patch1000 -p1 -b .windows
 
 %build
 autoreconf -f -i
 %{_mingw32_configure} \
 	--with-jpeg --with-zlib --with-tiff \
 	--enable-shared --disable-static
-make %{?_smp_mflags} || make
+make
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
@@ -101,5 +106,6 @@ make DESTDIR=%{buildroot} install %{?_sm
 %{_mingw32_includedir}/icc34.h
 %{_mingw32_libdir}/liblcms.dll.a
 %{_mingw32_libdir}/pkgconfig/lcms.pc
+%{_mingw32_datadir}/wixlib/lcms.wixlib
 
 %changelog
openSUSE Build Service is sponsored by