Accepting request 35006 from devel:languages:perl

Copy from devel:languages:perl/perl-Class-Accessor based on submit request 35006 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/35006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Class-Accessor?expand=0&rev=9
This commit is contained in:
OBS User autobuild 2010-03-17 13:26:03 +00:00 committed by Git OBS Bridge
parent f440b265b1
commit 1ce1167667
2 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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 <schwern@pobox.com>
%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