commit 5a50b62f46a6250eab042ef893fa2b40cf4060f4 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Dec 17 17:06:55 2012 +0100 0.25 bump .gitignore | 1 + perl-Sys-Syscall.spec | 38 +++++++++++++++++++------------------- sources | 2 +- 3 files changed, 21 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index cca9964..8e693ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Sys-Syscall-0.23.tar.gz +/Sys-Syscall-0.25.tar.gz diff --git a/perl-Sys-Syscall.spec b/perl-Sys-Syscall.spec index 45e5ab2..867717e 100644 --- a/perl-Sys-Syscall.spec +++ b/perl-Sys-Syscall.spec @@ -1,40 +1,37 @@ -%global libname Sys-Syscall - -Name: perl-%{libname} -Version: 0.23 -Release: 7%{?dist} +Name: perl-Sys-Syscall +Version: 0.25 +Release: 1%{?dist} Summary: Access system calls that Perl doesn't normally provide access to License: GPL+ or Artistic Group: Development/Libraries -URL: http://search.cpan.org/dist/%{libname}/ -Source0: http://www.cpan.org/modules/by-module/Sys/%{libname}-%{version}.tar.gz +URL: http://search.cpan.org/dist/Sys-Syscall/ +Source0: http://www.cpan.org/modules/by-module/Sys/Sys-Syscall-%{version}.tar.gz BuildArch: noarch - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(Socket) +BuildRequires: perl(Test::More) %description Use epoll, sendfile, from Perl. Mostly Linux-only support now, but more syscalls/OSes planned for future. %prep -%setup -q -n %{libname}-%{version} +%setup -q -n Sys-Syscall-%{version} pod2text < README.pod > README %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} - +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* - rm -v %{buildroot}%{_mandir}/man3/Sys::README.3pm rm -v %{buildroot}%{perl_vendorlib}/Sys/README.pod @@ -42,12 +39,15 @@ rm -v %{buildroot}%{perl_vendorlib}/Sys/README.pod make test %files -%defattr(-,root,root,-) %doc CHANGES README %{perl_vendorlib}/Sys %{_mandir}/man3/Sys::Syscall.* %changelog +* Mon Dec 17 2012 Petr Šabata <contyk@xxxxxxxxxx> - 0.25-1 +- 0.25 bump +- Modernize the spec a bit + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.23-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index c4432a3..9988644 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -be6dc2d791684a6f8abb3dd39ff2d1de Sys-Syscall-0.23.tar.gz +720a9ec5f67f867814a9011b2a725763 Sys-Syscall-0.25.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel