[packages/perl-AI-NeuralNet-BackProp] use generic url
glen
glen at pld-linux.org
Tue Nov 25 09:09:31 CET 2014
commit 33fab4fe1b356f5028e05667472041ab897c8d5d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 10:09:27 2014 +0200
use generic url
perl-AI-NeuralNet-BackProp.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl-AI-NeuralNet-BackProp.spec b/perl-AI-NeuralNet-BackProp.spec
index 22ec270..dadcfaa 100644
--- a/perl-AI-NeuralNet-BackProp.spec
+++ b/perl-AI-NeuralNet-BackProp.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # don't perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir AI
%define pnam NeuralNet-BackProp
+%include /usr/lib/rpm/macros.perl
Summary: A simple back-prop neural net that uses Delta's and Hebbs' rule
Summary(pl.UTF-8): Prosta sieć neuronowa ze wsteczną propagacją używająca zasady Delty i Hebbsa
Name: perl-AI-NeuralNet-BackProp
@@ -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}.zip
# Source0-md5: 1791f9f8f178ef67d2814fd8ff46fa11
+URL: http://search.cpan.org/dist/AI-NeuralNet-BackProp/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: unzip
@@ -48,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
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-NeuralNet-BackProp.git/commitdiff/33fab4fe1b356f5028e05667472041ab897c8d5d
More information about the pld-cvs-commit
mailing list