[packages/perl-AI-Perceptron] use generic url
glen
glen at pld-linux.org
Tue Nov 25 09:09:42 CET 2014
commit 0ad03f394a0b7fbdfa9f8d1108ce492da361174d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 10:09:39 2014 +0200
use generic url
perl-AI-Perceptron.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-AI-Perceptron.spec b/perl-AI-Perceptron.spec
index 2465476..dc77b34 100644
--- a/perl-AI-Perceptron.spec
+++ b/perl-AI-Perceptron.spec
@@ -2,9 +2,9 @@
# Conditional build:
%bcond_without tests # do not perform "make test"
-%include /usr/lib/rpm/macros.perl
%define pdir AI
%define pnam Perceptron
+%include /usr/lib/rpm/macros.perl
Summary: AI::Perceptron - an implementation of a Perceptron
Summary(pl.UTF-8): AI::Perceptron - implementacja perceptronu
Name: perl-AI-Perceptron
@@ -15,9 +15,10 @@ 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: 17c4f512664a1981ed8894d85b8eefa4
+URL: http://search.cpan.org/dist/AI-Perceptron/
+BuildRequires: perl-Module-Build >= 0.20
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-Module-Build >= 0.20
%if %{with tests}
BuildRequires: perl-accessors
%endif
@@ -54,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT
./Build install
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-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-AI-Perceptron.git/commitdiff/0ad03f394a0b7fbdfa9f8d1108ce492da361174d
More information about the pld-cvs-commit
mailing list