rpms/perl-Digest-Nilsimsa/F-9 perl-Digest-Nilsimsa.spec,1.12,1.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Digest-Nilsimsa/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16013

Modified Files:
	perl-Digest-Nilsimsa.spec 
Log Message:
- Add perl(:MODULE_COMPAT...) dependency (#453564)
- Remove redundant buildreq perl
- Clean buildroot at start of %%install
- Move "make test" to %%check
- Install into %%{perl_vendorarch} and use "make pure_install"
- Fix argument order for find with -depth
- Only specify compiler flags once
- Only specify version number once



Index: perl-Digest-Nilsimsa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Digest-Nilsimsa/F-9/perl-Digest-Nilsimsa.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-Digest-Nilsimsa.spec	20 Feb 2008 06:56:38 -0000	1.12
+++ perl-Digest-Nilsimsa.spec	1 Jul 2008 12:28:38 -0000	1.13
@@ -1,17 +1,17 @@
 Name:           perl-Digest-Nilsimsa
 Version:        0.06
-Release:        9%{?dist}.1
+Release:        10%{?dist}
 
 Summary:        Perl interface to the Nilsima Algorithm
 
 Group:          Development/Libraries
 License:        GPLv2+
-Source0:  http://www.cpan.org/authors/id/V/VI/VIPUL/Digest-Nilsimsa-0.06.tar.gz
+Source0:        http://www.cpan.org/authors/id/V/VI/VIPUL/Digest-Nilsimsa-%{version}.tar.gz
 URL:            http://search.cpan.org/dist/Digest-Nilsimsa/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 %{summary}.
@@ -22,21 +22,23 @@
 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-make test
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
 
 
 %install
-make install \
-  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
-  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+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 -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
+%check
+make test
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -44,12 +46,22 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING README
-%{_libdir}/perl*/*
+%{perl_vendorarch}/Digest/
+%{perl_vendorarch}/auto/Digest/
 %{_mandir}/man3/*.3*
 
-
 %changelog
-* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> - 0.06-9.1
+* Tue Jul  1 2008 Paul Howarth <paul@xxxxxxxxxxxx> 0.06-10
+- Add perl(:MODULE_COMPAT...) dependency (#453564)
+- Remove redundant buildreq perl
+- Clean buildroot at start of %%install
+- Move "make test" to %%check
+- Install into %%{perl_vendorarch} and use "make pure_install"
+- Fix argument order for find with -depth
+- Only specify compiler flags once
+- Only specify version number once
+
+* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> 0.06-9.1
 - Autorebuild for GCC 4.3
 
 * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> 0.06-8.1

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

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux