[perl-Socket6] 0.25 bump

Petr Šabata psabata at fedoraproject.org
Tue Feb 25 09:56:21 UTC 2014


commit c328ee49a9e67da47f9511fef0400ef01d0fa4b6
Author: Petr Šabata <contyk at redhat.com>
Date:   Tue Feb 25 10:57:09 2014 +0100

    0.25 bump
    
    - Modernize the spec somewhat

 .gitignore        |    1 +
 perl-Socket6.spec |   30 ++++++++++++------------------
 sources           |    2 +-
 3 files changed, 14 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index af9c2da..6514b2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Socket6-0.23.tar.gz
+/Socket6-0.25.tar.gz
diff --git a/perl-Socket6.spec b/perl-Socket6.spec
index bf57709..0273c78 100644
--- a/perl-Socket6.spec
+++ b/perl-Socket6.spec
@@ -2,21 +2,23 @@
 %{?perl_default_filter}
 
 Name:           perl-Socket6
-Version:        0.23
-Release:        15%{?dist}
+Version:        0.25
+Release:        1%{?dist}
 Summary:        IPv6 related part of the C socket.h defines and structure manipulators
-
 Group:          Development/Libraries
 License:        BSD
 URL:            http://search.cpan.org/dist/Socket6/
 Source0:        http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+BuildRequires:  perl
+BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildREquires:  perl(vars)
 # Tests:
 BuildRequires:  perl(Socket)
 BuildRequires:  perl(Test)
@@ -28,37 +30,25 @@ enable protocol independent programming.
 If your environment supports IPv6, IPv6 related defines such as
 AF_INET6 are included.
 
-
 %prep
 %setup -q -n Socket6-%{version}
 # CPAN RT #66811
 sed -i -e '/MAN3PODS/d' Makefile.PL
 
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-
 %check
 make test
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README
 %{perl_vendorarch}/Socket6*
 %{perl_vendorarch}/auto/Socket6/
@@ -66,6 +56,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Feb 25 2014 Petr Šabata <contyk at redhat.com> - 0.25-1
+- 0.25 bump
+- Modernize the spec somewhat
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.23-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 13f7a06..3a88c2d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2c02adb13c449d48d232bb704ddbd492  Socket6-0.23.tar.gz
+e6c40d662b1fc5ffd436b7f50daa1f04  Socket6-0.25.tar.gz


More information about the scm-commits mailing list