diff --git a/perl-Class-Accessor.changes b/perl-Class-Accessor.changes index e6b29cd..364ac0f 100644 --- a/perl-Class-Accessor.changes +++ b/perl-Class-Accessor.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 8 22:35:22 UTC 2010 - chris@computersalat.de + +- cleanup spec + o dep for perl-macros + o Provides + o Makefile.PL + ------------------------------------------------------------------- Wed Jan 13 16:40:29 CET 2010 - anicka@suse.cz diff --git a/perl-Class-Accessor.spec b/perl-Class-Accessor.spec index e5deb3a..e41686c 100644 --- a/perl-Class-Accessor.spec +++ b/perl-Class-Accessor.spec @@ -22,28 +22,32 @@ Name: perl-Class-Accessor %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Automated accessor generation Version: 0.34 -Release: 1 +Release: 2 License: Artistic License .. Group: Development/Libraries/Perl Url: http://search.cpan.org/dists/Class-Accessor Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl +%if 0%{?suse_version} < 1120 BuildRequires: perl-macros +%endif BuildRequires: perl(Sub::Name) Requires: perl = %{perl_version} Requires: perl(Carp) Requires: perl(Sub::Name) +Provides: %{cpan_name} %description This module automatically generates accessor/mutators for your class. Authors: Michael G Schwern + %prep %setup -q -n %{cpan_name}-%{version} %build -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %{?_smp_mflags} %check