]> git.pld-linux.org Git - packages/perl-Crypt-UnixCrypt.git/blobdiff - perl-Crypt-UnixCrypt.spec
- BR: perl-devel; do not BR: perl
[packages/perl-Crypt-UnixCrypt.git] / perl-Crypt-UnixCrypt.spec
index 595e44f061d30ccefb866166f843e541fa600bd0..066a3db4b23bafabcc782dffa54269ea2a7e8994 100644 (file)
@@ -5,12 +5,12 @@ Summary:      Crypt::UnixCrypt perl module
 Summary(pl):   Modu³ perla Crypt::UnixCrypt
 Name:          perl-Crypt-UnixCrypt
 Version:       1.0
-Release:       1
-License:       GPL or Artistic
+Release:       3
+License:       GPL/Artistic
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.6.1
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: perl-devel >= 5.6.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,7 +24,8 @@ Crypt::UnixCrypt - implementacja funkcji crypt(3) wy
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor 
 %{__make}
 
 %install
@@ -32,13 +33,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf CHANGES README
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%{perl_sitelib}/Crypt/UnixCrypt.pm
+%doc CHANGES README
+%{perl_vendorlib}/Crypt/UnixCrypt.pm
 %{_mandir}/man3/*
This page took 0.058825 seconds and 4 git commands to generate.