From 9c7ef17b3ebf38572260ec69ebe229936bc8ec83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 13:00:57 +0200 Subject: [PATCH] use generic url --- perl-Inline-Files.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/perl-Inline-Files.spec b/perl-Inline-Files.spec index c5e439f..a2c27be 100644 --- a/perl-Inline-Files.spec +++ b/perl-Inline-Files.spec @@ -1,10 +1,10 @@ # # Conditional build: %bcond_without tests # do not perform "make test" -# -%include /usr/lib/rpm/macros.perl + %define pdir Inline %define pnam Files +%include /usr/lib/rpm/macros.perl Summary: Inline::Files Perl module Summary(cs.UTF-8): Modul Inline::Files pro Perl Summary(da.UTF-8): Perlmodul Inline::Files @@ -30,8 +30,9 @@ License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: f20f920979fdfd1799410a75104ffa3e -BuildRequires: perl-devel >= 1:5.8.0 +URL: http://search.cpan.org/dist/Inline-Files/ BuildRequires: perl-Filter +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -60,7 +61,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -p demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0