Fix bad provides

This commit is contained in:
vcrhonek 2007-09-20 09:21:13 +00:00
parent 46859407ae
commit 7cb02e0a79
2 changed files with 9 additions and 1 deletions

3
filter-provides-mrtg.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/usr/lib/rpm/find-provides "$@" | grep -v 'perl(\(SNMP_util\|SNMP_Session\|BER\))'

View File

@ -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 <vcrhonek@redhat.com> 2.15.1-5
- Fix bad provides
* Thu Aug 23 2007 Vitezslav Crhonek <vcrhonek@redhat.com> 2.15.1-4
- fix license
- rebuild