rpms/perl-Net-SSH/devel perl-Net-SSH.spec,1.12,1.13

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Wed Apr 18 15:44:04 UTC 2007


Author: steve

Update of /cvs/extras/rpms/perl-Net-SSH/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4083

Modified Files:
	perl-Net-SSH.spec 
Log Message:
Reformat to match cpanspec output.
Canonicalize Source0 URL.
Fix find option order.
Use fixperms macro instead of our own chmod incantation.
Remove check macro cruft.
BR ExtUtils::MakeMaker.



Index: perl-Net-SSH.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-SSH/devel/perl-Net-SSH.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-Net-SSH.spec	1 Sep 2006 02:53:30 -0000	1.12
+++ perl-Net-SSH.spec	18 Apr 2007 15:43:30 -0000	1.13
@@ -1,20 +1,15 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
 Name:           perl-Net-SSH
 Version:        0.08
-Release:        4%{?dist}
-
+Release:        5%{?dist}
 Summary:        Perl extension for secure shell
-
 License:        GPL or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Net-SSH/
-Source0:        http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-0.08.tar.gz
+Source0:        http://www.cpan.org/authors/id/I/IV/IVAN/Net-SSH-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       openssh-clients
 
 %description
@@ -23,32 +18,29 @@
 implementation that does not require the system `ssh' command, see
 Net::SSH::Perl.
 
-
 %prep
 %setup -q -n Net-SSH-%{version}
 chmod 644 Changes README SSH.pm
 
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w %{buildroot}/*
+rm -rf $RPM_BUILD_ROOT
 
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
-%check || :
-make test
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
+%{_fixperms} $RPM_BUILD_ROOT/*
 
-%clean
-rm -rf %{buildroot}
+%check
+make test
 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
@@ -56,8 +48,15 @@
 %{perl_vendorlib}/Net
 %{_mandir}/man3/Net::SSH.3*
 
-
 %changelog
+* Wed Apr 18 2007 Steven Pritchard <steve at kspei.com> 0.08-5
+- Reformat to match cpanspec output.
+- Canonicalize Source0 URL.
+- Fix find option order.
+- Use fixperms macro instead of our own chmod incantation.
+- Remove check macro cruft.
+- BR ExtUtils::MakeMaker.
+
 * Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.08-4
 - Rebuild for FC6
 




More information about the fedora-extras-commits mailing list