[packages/perl-Math-Matlab] use generic url
glen
glen at pld-linux.org
Tue Nov 25 20:56:24 CET 2014
commit d2613086d4838fd8ee134dfd39044776b1f65c45
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 21:56:21 2014 +0200
use generic url
perl-Math-Matlab.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-Math-Matlab.spec b/perl-Math-Matlab.spec
index 4b403b0..cbfd2ac 100644
--- a/perl-Math-Matlab.spec
+++ b/perl-Math-Matlab.spec
@@ -3,10 +3,10 @@
%bcond_without autodeps # don't require packages only for autodeps generation
%bcond_with tests # perform "make test" (requires Matlab installation)
# matlab # command to execute matlab
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Math
%define pnam Matlab
+%include /usr/lib/rpm/macros.perl
Summary: Math::Matlab - interface for running Matlab programs from Perl
Summary(pl.UTF-8): Math::Matlab - interfejs do uruchamiania programów Matlaba z poziomu Perla
Name: perl-Math-Matlab
@@ -17,6 +17,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: fcab9a197d49dd5453f9d82de0ca7382
+URL: http://search.cpan.org/dist/Math-Matlab/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with autodeps}
BuildRequires: apache-mod_perl
BuildRequires: perl-URI
@@ -26,8 +29,6 @@ BuildRequires: perl-libwww
%if %{with tests}
BuildRequires: perl-Test-Simple >= 0.01
%endif
-BuildRequires: perl-devel >= 1:5.8.0
-BuildRequires: rpm-perlprov >= 4.1-13
#Requires: matlab
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Matlab.git/commitdiff/d2613086d4838fd8ee134dfd39044776b1f65c45
More information about the pld-cvs-commit
mailing list