[packages/perl-Math-BigInt-Named] use generic url
glen
glen at pld-linux.org
Tue Nov 25 20:54:13 CET 2014
commit 4f4d56e6ac2eaa291d64fefde3ca840af23e890b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 21:54:09 2014 +0200
use generic url
perl-Math-BigInt-Named.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-Math-BigInt-Named.spec b/perl-Math-BigInt-Named.spec
index 2b9d0d5..ddb9e9f 100644
--- a/perl-Math-BigInt-Named.spec
+++ b/perl-Math-BigInt-Named.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Math
%define pnam BigInt-Named
+%include /usr/lib/rpm/macros.perl
Summary: Math::BigInt::Named - BigInts that know their name in some languages
Summary(pl.UTF-8): Math::BigInt::Named - BigInty znające swoje nazwy w niektórych językach
Name: perl-Math-BigInt-Named
@@ -15,6 +15,7 @@ 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: ed4ae17fb2dabfabbe408f24130e483e
+URL: http://search.cpan.org/dist/Math-BigInt-Named/
BuildRequires: perl-Math-BigInt >= 1.48
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -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-Math-BigInt-Named.git/commitdiff/4f4d56e6ac2eaa291d64fefde3ca840af23e890b
More information about the pld-cvs-commit
mailing list