rpms/perl-Net-Patricia/devel perl-Net-Patricia.spec, 1.17, 1.18 sources, 1.7, 1.8
Philip Prindeville
philipp at fedoraproject.org
Wed May 19 21:14:33 UTC 2010
Author: philipp
Update of /cvs/pkgs/rpms/perl-Net-Patricia/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30832
Modified Files:
perl-Net-Patricia.spec sources
Log Message:
Refresh .spec file with cpanspec.
Index: perl-Net-Patricia.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-Patricia/devel/perl-Net-Patricia.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- perl-Net-Patricia.spec 19 May 2010 19:57:14 -0000 1.17
+++ perl-Net-Patricia.spec 19 May 2010 21:14:33 -0000 1.18
@@ -1,13 +1,20 @@
Name: perl-Net-Patricia
Version: 1.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Patricia Trie perl module for fast IP address lookups
-License: GPLv2+
+License: Distributable, see COPYING
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-Patricia/
-Source0: http://search.cpan.org/CPAN/authors/id/P/PH/PHILIPP/Net-Patricia-%{version}.tar.gz
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires: perl(ExtUtils::MakeMaker), perl(Socket6), perl(version)
+Source0: http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Socket6)
+BuildRequires: perl(version)
+BuildRequires: perl(Net::CIDR::Lite) >= 0.20
+Requires: perl(Socket6)
+Requires: perl(version)
+Requires: perl(Net::CIDR::Lite) >= 0.20
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -32,13 +39,13 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f \
- \( -name .packlist -o -name '*.bs' -size 0 \) -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} \;
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
@@ -48,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc COPYING Changes README
+%doc Changes COPYING README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net*
%{_mandir}/man3/*
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-Patricia/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources 19 May 2010 19:57:14 -0000 1.7
+++ sources 19 May 2010 21:14:33 -0000 1.8
@@ -1 +1 @@
-e19d565a9f751b772d22ce588f6c10f4 Net-Patricia-1.17.tar.gz
+28952316de5b27c920bd05e1fbfa3b32 Net-Patricia-1.17.tar.gz
More information about the scm-commits
mailing list