diff --git a/sane-backends.spec b/sane-backends.spec index fef7053..98c9256 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -1,7 +1,7 @@ Summary: Scanner access software. Name: sane-backends Version: 1.0.5 -Release: 4.1 +Release: 4.3 License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) Group: System Environment/Libraries #Source: ftp://ftp.mostang.com/pub/sane/%{name}-%{version}.tar.gz @@ -13,6 +13,7 @@ Patch2: sane-backends-1.0.5-tmpfile-dc25.patch Patch3: sane-backends-1.0.5-tmpfile-qcam.patch Patch4: sane-backends-1.0.5-tmpfile-snapscan.patch Patch5: sane-backends-1.0.5-tmpfile-st400.patch +Patch6: sane-backends-1.0.5-saned.patch URL: http://www.mostang.com/sane/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: tetex-latex @@ -22,7 +23,7 @@ Provides: libsane.so.1 Provides: libsane.so.1()(64bit) %endif Prereq: /sbin/ldconfig, /bin/mktemp, /bin/grep, /bin/cat, /bin/rm -BuildPrereq: tetex-latex +BuildPrereq: tetex-latex libtool ExcludeArch: s390 s390x %description @@ -65,16 +66,17 @@ included in the sane-backends package. %patch3 -p1 -b .qcam %patch4 -p1 -b .snapscan %patch5 -p3 -b .st400 +%patch6 -p1 -b .saned %build %{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1} %configure -make +make LIBTOOL=/usr/bin/libtool %install rm -rf %{buildroot} -%{makeinstall} +%{makeinstall} LIBTOOL=/usr/bin/libtool perl -pi -e "s/installed.*/installed=yes/g" $RPM_BUILD_ROOT%{_libdir}/libsane.la /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/sane @@ -132,6 +134,12 @@ fi %{_libdir}/sane/*.so %changelog +* Mon Oct 6 2003 Tim Waugh 1.0.5-4.3 +- Build with installed libtool. + +* Thu Sep 11 2003 Tim Waugh 1.0.5-4.2 +- Fix saned security issues. + * Wed Dec 19 2001 Tim Waugh 1.0.5-4.1 - Fix temporary file handling.