Accepting request 35006 from devel:languages:perl
checked in (request 35006) OBS-URL: https://build.opensuse.org/request/show/35006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Accessor?expand=0&rev=11
This commit is contained in:
parent
2373b39ea3
commit
f4e1803378
@ -1,11 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Jan 13 16:40:29 CET 2010 - anicka@suse.cz
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Class-Accessor
|
Name: perl-Class-Accessor
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Summary: Automated accessor generation
|
Summary: Automated accessor generation
|
||||||
@ -28,25 +29,21 @@ Url: http://search.cpan.org/dists/Class-Accessor
|
|||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(Sub::Name)
|
BuildRequires: perl(Sub::Name)
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(Sub::Name)
|
Requires: perl(Sub::Name)
|
||||||
Provides: %{cpan_name}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module automatically generates accessor/mutators for your class.
|
This module automatically generates accessor/mutators for your class.
|
||||||
|
|
||||||
Authors: Michael G Schwern <schwern@pobox.com>
|
Authors: Michael G Schwern <schwern@pobox.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user