[perl-Socket-MsgHdr] Update perl-Socket-MsgHdr to 0.04-3

Miroslav Suchý msuchy at fedoraproject.org
Mon Jul 22 11:18:20 UTC 2013


commit a1abea7d01f3f4bb0efe68473795c0c839caec83
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Mon Jul 22 13:18:10 2013 +0200

    Update perl-Socket-MsgHdr to 0.04-3

 .gitignore              |    1 +
 perl-Socket-MsgHdr.spec |   60 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e3b91f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Socket-MsgHdr-0.04.tar.gz
diff --git a/perl-Socket-MsgHdr.spec b/perl-Socket-MsgHdr.spec
new file mode 100644
index 0000000..a2c8a21
--- /dev/null
+++ b/perl-Socket-MsgHdr.spec
@@ -0,0 +1,60 @@
+%{?perl_default_filter}
+%global __requires_exclude MsgHdr.so
+
+Name:           perl-Socket-MsgHdr
+Version:        0.04
+Release:        3%{?dist}
+Summary:        Sendmsg, recvmsg and ancillary data operations
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Socket-MsgHdr/
+Source0:        http://www.cpan.org/authors/id/M/MJ/MJP/Socket-MsgHdr-%{version}.tar.gz
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl
+BuildRequires:  perl(bytes)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(XSLoader)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Socket::MsgHdr provides advanced socket messaging operations via sendmsg
+and recvmsg. Like their C counterparts, these functions accept few
+parameters, instead stuffing a lot of information into a complex structure.
+
+%prep
+%setup -q -n Socket-MsgHdr-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+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' -size 0 -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Socket*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jul 19 2013 Miroslav Suchý <msuchy at redhat.com> 0.04-3
+- use DESTDIR instead of PERL_INSTALL_ROOT (msuchy at redhat.com)
+- add several BRs (msuchy at redhat.com)
+
+* Fri Jul 19 2013 Miroslav Suchý <msuchy at redhat.com> 0.04-2
+- exclude MsgHdr.so()(64bit) from provides (msuchy at redhat.com)
+
+* Fri Jul 19 2013 Miroslav Suchy 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..58d429b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7cb3497b8cb212c5b9ce68900a2cb062  Socket-MsgHdr-0.04.tar.gz


More information about the scm-commits mailing list