[packages/perl-RTF-Parser] use generic url
glen
glen at pld-linux.org
Wed Nov 26 11:35:49 CET 2014
commit c89b0b9bb7ffda2dfe1e4efdd3fd2bc1a51b34a5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 26 12:35:45 2014 +0200
use generic url
perl-RTF-Parser.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-RTF-Parser.spec b/perl-RTF-Parser.spec
index 62e202f..521842e 100644
--- a/perl-RTF-Parser.spec
+++ b/perl-RTF-Parser.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir RTF
%define pnam Parser
+%include /usr/lib/rpm/macros.perl
Summary: RTF::Parser - RTF Processor
Summary(pl.UTF-8): RTF::Parser - procesor dokumentów w formacie RTF
Name: perl-RTF-Parser
@@ -16,8 +16,9 @@ Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 249eda70ecb9fe5e9231d31c53587b31
Patch0: %{name}-paths.patch
-BuildRequires: rpm-perlprov >= 4.1-13
+URL: http://search.cpan.org/dist/RTF-Parser/
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-RTF-Tokenizer
%endif
@@ -47,7 +48,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-RTF-Parser.git/commitdiff/c89b0b9bb7ffda2dfe1e4efdd3fd2bc1a51b34a5
More information about the pld-cvs-commit
mailing list