rpms/perl-IO-Socket-SSL/devel perl-IO-Socket-SSL.spec,1.8,1.9

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Wed Nov 28 18:25:56 UTC 2007


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-IO-Socket-SSL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4269

Modified Files:
	perl-IO-Socket-SSL.spec 
Log Message:
Cosmetic spec changes suiting new maintainer's preferences


Index: perl-IO-Socket-SSL.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IO-Socket-SSL/devel/perl-IO-Socket-SSL.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- perl-IO-Socket-SSL.spec	26 Oct 2007 18:18:32 -0000	1.8
+++ perl-IO-Socket-SSL.spec	28 Nov 2007 18:25:18 -0000	1.9
@@ -1,24 +1,20 @@
 #
 # Rebuild switch:
-#  --with sessiontests          enable session tests
+#  --with sessiontests		enable session tests
 #
 
-Name:           perl-IO-Socket-SSL
-Version:        1.12
-Release:        1%{?dist}
-Summary:        Perl library for transparent SSL
-
-Group:          Development/Libraries
-License:        GPL+ or Artistic
-URL:            http://search.cpan.org/dist/IO-Socket-SSL/
-Source0:        http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch:      noarch
-BuildRequires:  perl(Net::SSLeay)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::Simple)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Name:		perl-IO-Socket-SSL
+Version:	1.12
+Release:	2%{?dist}
+Summary:	Perl library for transparent SSL
+Group:		Development/Libraries
+License:	GPL+ or Artistic
+URL:		http://search.cpan.org/dist/IO-Socket-SSL/
+Source0:	http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:	noarch
+BuildRequires:	perl(ExtUtils::MakeMaker), perl(Net::SSLeay), perl(Test::Simple)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This module is a true drop-in replacement for IO::Socket::INET that
@@ -29,37 +25,31 @@
 SSL version selection. As an extra bonus, it works perfectly with
 mod_perl.
 
-
 %prep
 %setup -q -n IO-Socket-SSL-%{version}
-for f in README SSL.pm ; do
-  iconv -f iso-8859-1 -t utf-8 -o $f{.utf8,} ; mv $f{.utf8,}
+for f in README SSL.pm; do
+	/usr/bin/iconv -f iso-8859-1 -t utf-8 -o $f{.utf8,}; %{__mv} $f{.utf8,}
 done
 
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
+%{__make} %{?_smp_mflags}
 
 %install
-rm -rf $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 d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+%{__rm} -rf %{buildroot}
+%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
+/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
+%{__chmod} -R u+w %{buildroot}/*
 
 %check
 # Avoid running the session tests (spawns servers, requires 3 free ports
 # and possibly manual configuration).
 %{?!_with_sessiontests:mv t/sessions.t t/sessions.t.disable}
-make test
-
+%{__make} test
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
+%{__rm} -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -67,8 +57,10 @@
 %{perl_vendorlib}/IO/
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Wed Nov 28 2007 Paul Howarth <paul at city-fan.org> - 1.12-2
+- Cosmetic spec changes suiting new maintainer's preferences
+
 * Fri Oct 26 2007 Robin Norwood <rnorwood at redhat.com> - 1.12-1
 - Update to latest upstream version: 1.12
 - Fix license tag




More information about the fedora-extras-commits mailing list