From b2790af4a28e6bdaf2b169fecbfc719bc452adbbbb961882edb0d7f63ff29784 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Tue, 3 Nov 2009 05:26:21 +0000 Subject: [PATCH] Accepting request 23624 from home:Freespacer:branches:security Copy from home:Freespacer:branches:security/clamtk via accept of submit request 23624 revision 2. Request was accepted with message: reviewed OBS-URL: https://build.opensuse.org/request/show/23624 OBS-URL: https://build.opensuse.org/package/show/security/clamtk?expand=0&rev=15 --- clamtk-4.20-add_searchpath.patch | 11 +++++++++ clamtk.changes | 4 ++++ clamtk.spec | 38 +++++++++++++++----------------- 3 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 clamtk-4.20-add_searchpath.patch diff --git a/clamtk-4.20-add_searchpath.patch b/clamtk-4.20-add_searchpath.patch new file mode 100644 index 0000000..05016b5 --- /dev/null +++ b/clamtk-4.20-add_searchpath.patch @@ -0,0 +1,11 @@ +--- clamtk.orig 2009-10-06 18:40:31.000000000 +0200 ++++ clamtk 2009-10-12 20:50:49.000000000 +0200 +@@ -4,6 +4,8 @@ use strict; + use warnings; + $|++; + ++use lib qw( /usr/lib ); ++ + use ClamTk::App; + use ClamTk::Prefs; + use ClamTk::GUI; diff --git a/clamtk.changes b/clamtk.changes index 92d78cb..9258620 100644 --- a/clamtk.changes +++ b/clamtk.changes @@ -1,3 +1,7 @@ +------------------------------------------------------------------- +Mon Nov 03 12:00:00 CEST 2009 Sebastian Siebert +- add a patch to fix the problem with search path + ------------------------------------------------------------------- Sun Nov 1 17:25:33 UTC 2009 - pascal.bleser@opensuse.org diff --git a/clamtk.spec b/clamtk.spec index ccbb7a6..0c23257 100644 --- a/clamtk.spec +++ b/clamtk.spec @@ -1,24 +1,25 @@ # norootforbuild -Name: clamtk -Version: 4.20 -Release: 0 -Summary: GUI for the ClamAV Antivirus +Name: clamtk +Version: 4.20 +Release: 0 +Summary: GUI for the ClamAV Antivirus # http://prdownloads.sourceforge.net/clamtk/clamtk-%{version}.tar.gz -Source: clamtk-%{version}.tar.bz2 -URL: http://clamtk.sourceforge.net/ -Group: Productivity/Security -License: Perl License -BuildRoot: %{_tmppath}/build-%{name}-%{version} -Requires: clamav >= 0.88 -Requires: clamav-db -Requires: perl perl-File-Find-Rule perl-libwww-perl perl-Date-Calc -Requires: perl-Gtk2 perl-gettext +Source: clamtk-%{version}.tar.bz2 +Patch0: clamtk-4.20-add_searchpath.patch +URL: http://clamtk.sourceforge.net/ +Group: Productivity/Security +License: Perl License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +Requires: clamav >= 0.88 +Requires: clamav-db +Requires: perl perl-File-Find-Rule perl-libwww-perl perl-Date-Calc +Requires: perl-Gtk2 perl-gettext Requires: perl-Net-DNS Requires: zenity -BuildRequires: perl update-desktop-files -BuildArch: noarch -Obsoletes: clamtk-kde +BuildRequires: perl update-desktop-files +BuildArch: noarch +#Obsoletes: clamtk-kde %description ClamTk is a GUI front-end for ClamAV using Gtk2-perl. @@ -33,6 +34,7 @@ Authors: %prep %setup -q +%patch0 %build %__gzip -dc clamtk.1.gz > clamtk.1 @@ -72,7 +74,3 @@ popd #po %doc %{_mandir}/man1/clamtk.1* %changelog -# Local Variables: -# mode: rpm-spec -# tab-width: 3 -# End: