Author: mmaslano

Update of /cvs/pkgs/rpms/perl-Format-Human-Bytes/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13358

Modified Files:
        .cvsignore sources 
Added Files:
        Format-Human-Bytes-switch_off.patch 
        perl-Format-Human-Bytes.spec 
Log Message:
* Wed Nov 18 2009 Marcela Mašláňová <mmasl...@redhat.com> 0.04-1
- Specfile autogenerated by cpanspec 1.78.


Format-Human-Bytes-switch_off.patch:
 Makefile.PL |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE Format-Human-Bytes-switch_off.patch ---
diff -up Format-Human-Bytes-0.04/Makefile.PL.old 
Format-Human-Bytes-0.04/Makefile.PL
--- Format-Human-Bytes-0.04/Makefile.PL.old     2009-09-25 10:26:44.000000000 
+0200
+++ Format-Human-Bytes-0.04/Makefile.PL 2009-11-18 17:12:45.260527088 +0100
@@ -8,7 +8,7 @@ license  'gpl';
 build_requires 'Test::More';
 build_requires 'Module::Install';
 
-auto_install;
+##auto_install;
 
 WriteAll;
 


--- NEW FILE perl-Format-Human-Bytes.spec ---
Name:           perl-Format-Human-Bytes
Version:        0.04
Release:        1%{?dist}
Summary:        Format a bytecount and make it human readable
License:        GPL+
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Format-Human-Bytes/
Source0:        
http://www.cpan.org/authors/id/S/SE/SEWI/Format-Human-Bytes-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0:         Format-Human-Bytes-switch_off.patch
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Module::Install)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%description
This module returns you a printable string which is more readable by humans 
than 
a simple bytecount.

%prep
%setup -q -n Format-Human-Bytes-%{version}
%patch0 -p1

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Nov 18 2009 Marcela Mašláňová <mmasl...@redhat.com> 0.04-1
- Specfile autogenerated by cpanspec 1.78.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Format-Human-Bytes/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  20 Nov 2009 22:46:31 -0000      1.1
+++ .cvsignore  25 Nov 2009 08:28:13 -0000      1.2
@@ -0,0 +1 @@
+Format-Human-Bytes-0.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Format-Human-Bytes/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     20 Nov 2009 22:46:32 -0000      1.1
+++ sources     25 Nov 2009 08:28:13 -0000      1.2
@@ -0,0 +1 @@
+d29701e4f1ac0914d11fb10bfbb5350a  Format-Human-Bytes-0.04.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

Reply via email to