rpms/perl-FileHandle-Unget/devel perl-FileHandle-Unget.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Wed Oct 12 14:47:50 UTC 2005
Author: pghmcfc
Update of /cvs/extras/rpms/perl-FileHandle-Unget/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25905/devel
Modified Files:
.cvsignore sources
Added Files:
perl-FileHandle-Unget.spec
Log Message:
auto-import perl-FileHandle-Unget-0.1621-1 on branch devel from perl-FileHandle-Unget-0.1621-1.src.rpm
--- NEW FILE perl-FileHandle-Unget.spec ---
# Note that versions of FileHandle::Unget later than 0.14 use Scalar::Util,
# which is built-in to RedHat perl packages. Unfortunately, version 0.14 of
# Scalar::Util (required), only appears in Fedora Core >= 3 and Red Hat
# Enterprise Linux >= 4 packages, hence this version is incompatible with
# older OS releases.
Summary: A FileHandle that supports ungetting of multiple bytes
Name: perl-FileHandle-Unget
Version: 0.1621
Release: 1%{?dist}
License: GPL
Group: Development/Libraries
Url: http://search.cpan.org/dist/FileHandle-Unget
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/FileHandle-Unget-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Scalar::Util) >= 1.14
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
FileHandle::Unget is a drop-in replacement for FileHandle that allows more
than one byte to be placed back on the input. It supports an ungetc(ORD), which
can be called more than once in a row, and an ungets(SCALAR), which places a
string of bytes back on the input.
%prep
%setup -q -n FileHandle-Unget-%{version}
# Permissions wrong in tarball
%{__chmod} -x lib/FileHandle/Unget.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
%{_bindir}/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
%{_bindir}/find %{buildroot} -type d -depth -exec %{__rmdir} {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%check
%{__make} test
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,0755)
%doc README CHANGES LICENSE
%{perl_vendorlib}/FileHandle/
%{_mandir}/man3/FileHandle::Unget.3pm*
%changelog
* Wed Oct 12 2005 Paul Howarth <paul at city-fan.org> 0.1621-1
- Fedora Extras submission
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-FileHandle-Unget/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 Oct 2005 14:46:56 -0000 1.1
+++ .cvsignore 12 Oct 2005 14:47:48 -0000 1.2
@@ -0,0 +1 @@
+FileHandle-Unget-0.1621.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-FileHandle-Unget/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Oct 2005 14:46:56 -0000 1.1
+++ sources 12 Oct 2005 14:47:48 -0000 1.2
@@ -0,0 +1 @@
+610a63b10ad5c9917b6f0594745bba4c FileHandle-Unget-0.1621.tar.gz
More information about the fedora-extras-commits
mailing list