rpms/perl-String-CRC32/devel perl-String-CRC32.spec,1.9,1.10
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Mon Aug 13 12:08:25 UTC 2007
Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-String-CRC32/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4166
Modified Files:
perl-String-CRC32.spec
Log Message:
fix typo in %%summary and tidy up %%description
remove redundant dependency on perl >= 1:5.6.1
fix argument order for find with -depth
drop "|| :" from %%check (only required for ancient rpmbuild versions)
add buildreq perl(ExtUtils::MakeMaker)
Index: perl-String-CRC32.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-String-CRC32/devel/perl-String-CRC32.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- perl-String-CRC32.spec 3 Aug 2006 01:42:07 -0000 1.9
+++ perl-String-CRC32.spec 13 Aug 2007 12:07:51 -0000 1.10
@@ -1,32 +1,29 @@
Name: perl-String-CRC32
Version: 1.4
-Release: 2%{?dist}
-
-Summary: Perl interface for cyclic redundency check generation
-
+Release: 3%{?dist}
+Summary: Perl interface for cyclic redundancy check generation
Group: Development/Libraries
License: Public Domain
URL: http://search.cpan.org/dist/String-CRC32/
-Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: perl >= 1:5.6.1
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(ExtUtils::MakeMaker)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
-This packages provides a perl module to generate checksums from strings
-and from files.
+This packages provides a perl module to generate checksums from strings and
+from files.
-The checksums are the same as those calculated by ZMODEM, PKZIP,
-PICCHECK and many others.
-There's another perl module called String::CRC which allows to calculate
-not only 32 bit CRC numbers, but the generated sums differ from those of
-the programs mentioned above.
+The checksums are the same as those calculated by ZMODEM, PKZIP, PICCHECK and
+many others.
+
+There's another perl module called String::CRC, which supports calculation of
+CRC values of various widths (i.e. not just 32 bits), but the generated sums
+differ from those of the programs mentioned above.
%prep
%setup -q -n String-CRC32-%{version}
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -36,10 +33,10 @@
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-%check || :
+%check
make test
%clean
@@ -49,10 +46,17 @@
%defattr(-,root,root,-)
%doc README
%{perl_vendorarch}/String/
-%{perl_vendorarch}/auto/String
+%{perl_vendorarch}/auto/String/
%{_mandir}/man3/*.3*
%changelog
+* Mon Aug 13 2007 Paul Howarth <paul at city-fan.org> 1.4-3
+- fix typo in %%summary and tidy up %%description
+- remove redundant dependency on perl >= 1:5.6.1
+- fix argument order for find with -depth
+- drop "|| :" from %%check (only required for ancient rpmbuild versions)
+- add buildreq perl(ExtUtils::MakeMaker)
+
* Wed Aug 02 2006 Warren Togami <wtogami at redhat.com> 1.4-2
- bump
More information about the fedora-extras-commits
mailing list