diff --git a/.cvsignore b/.cvsignore index b4e116a..504c9eb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -RRD-Simple-1.43.tar.gz +RRD-Simple-1.44.tar.gz diff --git a/perl-RRD-Simple.spec b/perl-RRD-Simple.spec index 849e8e3..1033446 100644 --- a/perl-RRD-Simple.spec +++ b/perl-RRD-Simple.spec @@ -1,6 +1,6 @@ Name: perl-RRD-Simple -Version: 1.43 -Release: 3%{?dist} +Version: 1.44 +Release: 1%{?dist} Summary: Simple interface to create and store data in RRD files Group: Development/Libraries @@ -34,6 +34,24 @@ if you do not need to, nor want to, bother defining custom RRA definitions. %prep %setup -q -n RRD-Simple-%{version} +# note we first filter out the bits in _docdir... +cat << \EOF > %{name}-prov +#!/bin/sh +FOO=`perl -p -e 's|%{_docdir}/%{name}-%{version}\S+||'` +%{__perl_provides} $FOO +EOF + +%define __perl_provides %{_builddir}/RRD-Simple-%{version}/%{name}-prov +chmod +x %{__perl_provides} + +cat << \EOF > %{name}-req +#!/bin/sh +%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` +EOF + +%define __perl_requires %{_builddir}/RRD-Simple-%{version}/%{name}-req +chmod +x %{__perl_requires} + %build # prevent call-home query/timeout. not strictly necessary @@ -60,12 +78,15 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes INSTALL LICENSE NOTICE README examples/ +%doc Changes INSTALL LICENSE NOTICE README examples/ t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Sun Aug 03 2008 Chris Weyl 1.44-1 +- update to 1.44 + * Thu Mar 06 2008 Tom "spot" Callaway - 1.43-3 Rebuild for new perl diff --git a/sources b/sources index 3ab41c4..e85ca00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e3b21efd7b6f0a36cd665149109459d3 RRD-Simple-1.43.tar.gz +cddfd8b22310946974af7762e1778a7e RRD-Simple-1.44.tar.gz