diff --git a/filter-provides-mrtg.sh b/filter-provides-mrtg.sh new file mode 100755 index 0000000..07620c0 --- /dev/null +++ b/filter-provides-mrtg.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/lib/rpm/find-provides "$@" | grep -v 'perl(\(SNMP_util\|SNMP_Session\|BER\))' diff --git a/mrtg.spec b/mrtg.spec index f8be4fe..b0815e4 100644 --- a/mrtg.spec +++ b/mrtg.spec @@ -6,7 +6,7 @@ Summary: Multi Router Traffic Grapher Name: mrtg Version: 2.15.1 -Release: 4%{?dist} +Release: 5%{?dist} URL: http://oss.oetiker.ch/mrtg/ Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5.gpg @@ -14,6 +14,7 @@ Source2: mrtg.cfg Source3: filter-requires-mrtg.sh Source4: mrtg.crond.in Source5: mrtg-httpd.conf +Source6: filter-provides-mrtg.sh Patch0: mrtg-2.15.0-lib64.patch Patch1: mrtg-2.10.5-norpath.patch License: GPL+ @@ -26,6 +27,7 @@ Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gd-devel, libpng-devel %define __find_requires %{SOURCE3} +%define __find_provides %{SOURCE6} %description The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic @@ -115,6 +117,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_localstatedir}/lock/mrtg %changelog +* Thu Sep 20 2007 Vitezslav Crhonek 2.15.1-5 +- Fix bad provides + * Thu Aug 23 2007 Vitezslav Crhonek 2.15.1-4 - fix license - rebuild