]> git.pld-linux.org Git - packages/perl-Readonly.git/blobdiff - perl-Readonly.spec
- BR: perl-devel; do not BR: perl
[packages/perl-Readonly.git] / perl-Readonly.spec
index 1ee5c674eff3026a3925f8d17728a8a58083116d..557d5ba695bc59a3d751f254eff7dae3a8a16889 100644 (file)
@@ -7,13 +7,13 @@
 Summary:       Readonly - Facility for creating read-only scalars, arrays, hashes
 Summary(pl):   Readonly - Udogodnienie do tworzenia zmiennych tylko do odczytu
 Name:          perl-Readonly
-Version:       0.07
+Version:       1.01
 Release:       2
 License:       GPL/Artistic
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/authors/id/R/RO/ROODE/%{pdir}-%{version}.tar.gz
-BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.6.1
+Source0:       http://www.cpan.org/authors/id/R/RO/ROODE/%{pdir}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-devel >= 5.6.1
 %if %{?_without_tests:0}%{!?_without_tests:1}
 BuildRequires: perl-Test-Simple
 BuildRequires: perl-Test-Harness
@@ -38,7 +38,8 @@ wy
 %setup -q -n %{pdir}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor 
 %{__make}
 
 %{!?_without_tests:%{__make} test}
@@ -54,5 +55,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_sitelib}/*.pm
+%{perl_vendorlib}/*.pm
 %{_mandir}/man3/*
This page took 0.422684 seconds and 4 git commands to generate.