[packages/perl-Math-Bezier-Convert] use generic url

glen glen at pld-linux.org
Tue Nov 25 20:54:01 CET 2014


commit 24bea4f2555fa2ab277503806ea56fd0f7872bb0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 21:53:58 2014 +0200

    use generic url

 perl-Math-Bezier-Convert.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-Math-Bezier-Convert.spec b/perl-Math-Bezier-Convert.spec
index 23438b0..1392ada 100644
--- a/perl-Math-Bezier-Convert.spec
+++ b/perl-Math-Bezier-Convert.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	Bezier-Convert
+%include	/usr/lib/rpm/macros.perl
 Summary:	Math::Bezier::Convert - convert cubic and quadratic bezier each other
 Summary(pl.UTF-8):	Math::Bezier::Convert - konwersja krzywych Beziera stopnia 2 i 3 na inne
 Name:		perl-Math-Bezier-Convert
@@ -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:	fb5237be267b594ae9849fcdd389ed11
+URL:		http://search.cpan.org/dist/Math-Bezier-Convert/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
@@ -48,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install samples/bezier.plx $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p samples/bezier.plx $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Bezier-Convert.git/commitdiff/24bea4f2555fa2ab277503806ea56fd0f7872bb0



More information about the pld-cvs-commit mailing list