epel9
Jitka Plesnikova 9 years ago
parent 3096ae495e
commit 8588fb6f63

1
.gitignore vendored

@ -1 +1,2 @@
FileHandle-Fmode-0.09.tar.gz
/FileHandle-Fmode-0.14.tar.gz

@ -1,6 +1,6 @@
Name: perl-FileHandle-Fmode
Version: 0.09
Release: 24%{?dist}
Version: 0.14
Release: 1%{?dist}
Summary: FileHandle::Fmode Perl module
License: GPL+ or Artistic
Group: Development/Libraries
@ -8,8 +8,17 @@ URL: http://search.cpan.org/dist/FileHandle-Fmode/
Source0: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Fmode-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: coreutils
BuildRequires: dos2unix
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: /usr/bin/dos2unix
BuildRequires: perl(Fcntl)
BuildRequires: perl(strict)
%description
Determine whether a filehandle is opened for reading, writing, or both.
@ -18,7 +27,6 @@ Determine whether a filehandle is opened for reading, writing, or both.
%setup -q -n FileHandle-Fmode-%{version}
dos2unix README CHANGES
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
@ -26,7 +34,7 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
@ -48,6 +56,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Mon Aug 31 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-1
- 0.14 bump
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

@ -1 +1 @@
1d0c629d8e4138fc753757ad41e69d5d FileHandle-Fmode-0.09.tar.gz
bb9750d52def3b4dbf543df623df1765 FileHandle-Fmode-0.14.tar.gz

Loading…
Cancel
Save