#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Array
%define pnam RefElem
+%include /usr/lib/rpm/macros.perl
Summary: Array::RefElem - set up array elements as aliases
Summary(pl.UTF-8): Array::RefElem - ustawianie elementów tablicy jako aliasów
Name: perl-Array-RefElem
Version: 1.00
-Release: 1
+Release: 15
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-authors/id/G/GA/GAAS/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 43ff2dd2049258634cb00697198572d1
+URL: http://search.cpan.org/dist/Array-RefElem/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
%{perl_vendorarch}/Array/*.pm
%dir %{perl_vendorarch}/auto/Array
%dir %{perl_vendorarch}/auto/Array/RefElem
-%{perl_vendorarch}/auto/Array/RefElem/*.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Array/RefElem/*.so
%{_mandir}/man3/*