diff --git a/.cvsignore b/.cvsignore index 27bdd41..bd3a21c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Convert-ASN1-0.18.tar.gz +Convert-ASN1-0.19.tar.gz diff --git a/perl-Convert-ASN1.spec b/perl-Convert-ASN1.spec index 975d436..f7f51af 100644 --- a/perl-Convert-ASN1.spec +++ b/perl-Convert-ASN1.spec @@ -1,53 +1,54 @@ -Summary: Convert-ASN1 Perl module -Name: perl-Convert-ASN1 -Version: 0.18 -Release: 4 -License: GPL or Artistic -Group: Development/Libraries -URL: http://search.cpan.org/dist/Convert-ASN1/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildArch: noarch -BuildRequires: perl >= 2:5.8.0 -Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }') -Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }') -Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }') -Source0: Convert-ASN1-0.18.tar.gz +Summary: Convert-ASN1 Perl module +Name: perl-Convert-ASN1 +Version: 0.19 +Release: 1 + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Convert-ASN1/ +Source0: http://www.cpan.org/authors/id/G/GB/GBARR/Convert-ASN1-0.19.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description %{summary}. + %prep %setup -q -n Convert-ASN1-%{version} %build -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor < /dev/null -make OPTIMIZE="$RPM_OPT_FLAGS" -make test +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -eval `perl '-V:installarchlib'` -mkdir -p $RPM_BUILD_ROOT$installarchlib -%makeinstall -rm -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist` +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 d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* -find $RPM_BUILD_ROOT%{_prefix} -type f -print | \ - sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-%{release}-filelist -if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then - echo "ERROR: EMPTY FILE LIST" - exit 1 -fi +%check || : +mv t/0-signature.t t/0-signature.t.skip +make test %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}-%{version}-%{release}-filelist + +%files %defattr(-,root,root,-) -%doc ChangeLog README +%doc ChangeLog README examples/ +%{perl_vendorlib}/Convert/ +%{_mandir}/man3/*.3* %changelog -* Wed Mar 30 2005 Warren Togami -- remove brp-compress +* Wed Apr 20 2005 Jose Pedro Oliveira - 0.19-1 +- Update to 0.19. (#155458) +- Bring up to date with current Fedora.Extras perl spec template. * Wed Sep 22 2004 Chip Turner 0.18-3 - rebuild diff --git a/sources b/sources index ab72c36..c962b8d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4fab81d2d3e4a5338df0872cfda8513c Convert-ASN1-0.18.tar.gz +6debb08ccac684a199c0afe54fad51a5 Convert-ASN1-0.19.tar.gz