File project.diff of Package unshield
--- unshield.spec.orig
+++ unshield.spec
@@ -15,24 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-
%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
+Url: http://synce.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: libtool pkgconfig
+BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRequires: zlib-devel
Source: %{name}-%{version}.tar.bz2
@@ -78,13 +74,12 @@ you will need to install %{libname}-deve
%patch1
%build
-autoreconf -f -i
export CFLAGS="%{optflags} -DPROTOTYPES"
%configure --disable-static --disable-rpath --with-pic
make %{?_smp_mflags}
%install
-%make_install
+%{?make_install} %{!?make_install:%makeinstall}
%clean
rm -rf %{buildroot}