#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Regexp
%define pnam Ethiopic
+%include /usr/lib/rpm/macros.perl
Summary: Regexp::Ethiopic - regular expressions support for Ethiopic script
Summary(pl.UTF-8): Regexp::Ethiopic - obsługa wyrażeń regularnych dla pisma etiopskiego
Name: perl-Regexp-Ethiopic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 6ac1021a0bfd1136f81d930b22a65ad3
+URL: http://search.cpan.org/dist/Regexp-Ethiopic/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT