]> git.pld-linux.org Git - packages/perl-Clone.git/blobdiff - perl-Clone.spec
rebuild with perl 5.32
[packages/perl-Clone.git] / perl-Clone.spec
index 83e99a6f755a9a0ef11ea32c31ff2778cfe4c6b7..b27b9899bed83f7e1b652fce03e93f8a5fcc2350 100644 (file)
@@ -2,21 +2,25 @@
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    Clone
 Summary:       Clone - Perl module for recursively copying Perl datatypes
 Summary(pl.UTF-8):     Clone - moduł Perla obsługujący rekursywne kopiowanie zmiennych w Perlu
 Name:          perl-Clone
-Version:       0.28
-Release:       1
+Version:       0.44
+Release:       2
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/Clone/%{pdir}-%{version}.tar.gz
-# Source0-md5: 16186d984e358ab3ca069d00c81b7e5c
-URL:           http://search.cpan.org/dist/Clone/
+# Source0-md5: 0c98ec61248d79b0d5d0b45747568b99
+URL:           https://metacpan.org/release/Clone
+%if %{with tests}
+BuildRequires: perl-B-COW >= 0.003
+BuildRequires: perl-Test-Simple
+%endif
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,6 +41,7 @@ referencji, włącznie ze związanymi zmiennymi i obiektami.
        INSTALLDIRS=vendor
 
 %{__make} \
+       CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
@@ -54,7 +59,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes
 %{perl_vendorarch}/Clone.pm
-%{perl_vendorarch}/auto/Clone/Clone.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Clone/Clone.so
 %{perl_vendorarch}/auto/Clone/autosplit.ix
-%{_mandir}/man3/*
+%{_mandir}/man3/Clone.3pm*
This page took 0.033616 seconds and 4 git commands to generate.