SPECS: perl-Algorithm-SVM.spec - it's a C++ program
glen
glen at pld-linux.org
Sat Feb 23 23:46:29 CET 2008
Author: glen Date: Sat Feb 23 22:46:29 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- it's a C++ program
---- Files affected:
SPECS:
perl-Algorithm-SVM.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/perl-Algorithm-SVM.spec
diff -u SPECS/perl-Algorithm-SVM.spec:1.17 SPECS/perl-Algorithm-SVM.spec:1.18
--- SPECS/perl-Algorithm-SVM.spec:1.17 Sat Feb 23 20:45:36 2008
+++ SPECS/perl-Algorithm-SVM.spec Sat Feb 23 23:46:24 2008
@@ -10,12 +10,13 @@
Summary(pl.UTF-8): Dowiązania Perla do biblioteki libsvm (Support Vector Machine)
Name: perl-Algorithm-SVM
Version: 0.11
-Release: 4
+Release: 5
# same as perl
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: 95a77fc32f958c745d596940a50b7682
+BuildRequires: libstdc++-devel
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,9 +40,12 @@
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+# cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
+%{__sed} -i -e 's/-Wdeclaration-after-statement//' Makefile
+
%{__make} \
- CC="%{__cc}" \
- OPTIMIZE="%{rpmcflags}"
+ CC="%{__cxx}" \
+ OPTIMIZE="%{rpmcxxflags}"
%{?with_tests:%{__make} test}
@@ -51,6 +55,9 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Algorithm/SVM/.packlist
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,6 +78,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2008-02-23 22:46:24 glen
+- it's a C++ program
+
Revision 1.17 2008-02-23 19:45:36 glen
- release 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-Algorithm-SVM.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list