diff --git a/perl-Algorithm-Annotate.changes b/perl-Algorithm-Annotate.changes index 61b4b9d..caa9cdc 100644 --- a/perl-Algorithm-Annotate.changes +++ b/perl-Algorithm-Annotate.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Sun Nov 28 11:37:41 UTC 2010 - coolo@novell.com +Sun Nov 28 13:08:52 UTC 2010 - coolo@novell.com -- remove .packlist file +- recreated by cpanspec 1.78.02 ------------------------------------------------------------------- Tue Oct 19 08:38:20 UTC 2010 - coolo@novell.com diff --git a/perl-Algorithm-Annotate.spec b/perl-Algorithm-Annotate.spec index e5423a5..d0a6f48 100644 --- a/perl-Algorithm-Annotate.spec +++ b/perl-Algorithm-Annotate.spec @@ -17,51 +17,54 @@ # norootforbuild - Name: perl-Algorithm-Annotate -License: Artistic -Group: Development/Libraries/Perl -Url: http://cpan.org/ -Requires: perl = %{perl_version} -AutoReqProv: on -Summary: represent a series of changes in annotate form +%define cpan_name Algorithm-Annotate +Summary: Represent a series of changes in annotate form Version: 0.10 -Release: 145 -Source: http://cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz +Release: 1 +License: CHECK(GPL+ or Artistic) +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Algorithm-Annotate/ +#Source: http://www.cpan.org/modules/by-module/Algorithm/Algorithm-Annotate-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(Algorithm::Diff) >= 1.15 +Requires: perl = %{perl_version} +Requires: perl(Algorithm::Diff) >= 1.15 %description -Algorithm::Annotate generates a list that is useful for generating -output similar to cvs annotate. - - - -Authors: --------- - Chia-liang Kao +Algorithm::Annotate generates a list that is useful for generating output +simliar to cvs annotate. %prep -%setup -n Algorithm-Annotate-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -%{__make} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install -%perl_process_packlist +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_gen_filelist %clean -[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%dir %{perl_vendorlib}/Algorithm -%{perl_vendorlib}/Algorithm/Annotate.pm -%dir %{perl_vendorarch}/auto/Algorithm -%dir %{perl_vendorarch}/auto/Algorithm/Annotate -%{_mandir}/man3/Algorithm::Annotate.3pm.gz -/var/adm/perl-modules/%{name} +%files -f %{name}.files +%defattr(-,root,root,-) +%doc %changelog