|
|
@ -1,8 +1,7 @@
|
|
|
|
Name: perl-Net-IP
|
|
|
|
Name: perl-Net-IP
|
|
|
|
Version: 1.25
|
|
|
|
Version: 1.26
|
|
|
|
Release: 20%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl module for manipulation of IPv4 and IPv6 addresses
|
|
|
|
Summary: Perl module for manipulation of IPv4 and IPv6 addresses
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
|
|
|
|
# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
|
|
|
|
# MIT-like for the IP.pm itself, and "like Perl itself" for all the other
|
|
|
|
# MIT-like for the IP.pm itself, and "like Perl itself" for all the other
|
|
|
@ -10,13 +9,10 @@ Group: Development/Libraries
|
|
|
|
License: MIT and (GPL+ or Artistic)
|
|
|
|
License: MIT and (GPL+ or Artistic)
|
|
|
|
URL: http://search.cpan.org/dist/Net-IP/
|
|
|
|
URL: http://search.cpan.org/dist/Net-IP/
|
|
|
|
Source: http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
|
|
|
|
Source: http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Patch0: perl-Net-IP-1.25-bz197425.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: perl-Net-IP-1.25-bz197425.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This is the Net::IP module for Perl, designed to allow easy
|
|
|
|
This is the Net::IP module for Perl, designed to allow easy
|
|
|
@ -32,15 +28,12 @@ handy IP "cheat sheet".
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%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 -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
|
|
|
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -51,12 +44,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
# make test
|
|
|
|
# make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc COPYING Changes README
|
|
|
|
%doc COPYING Changes README
|
|
|
|
%{_bindir}/ipcount
|
|
|
|
%{_bindir}/ipcount
|
|
|
|
%{_bindir}/iptab
|
|
|
|
%{_bindir}/iptab
|
|
|
@ -65,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 29 2012 Petr Pisar <ppisar@redhat.com> - 1.26-1
|
|
|
|
|
|
|
|
- 1.26 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-20
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|