[packages/perl-DBIx-MyServer] use generic url

glen glen at pld-linux.org
Tue Nov 25 11:36:22 CET 2014


commit 082218ffcaa0580bdf3ff8099d2df93700c3efe9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 25 12:36:18 2014 +0200

    use generic url

 perl-DBIx-MyServer.spec | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/perl-DBIx-MyServer.spec b/perl-DBIx-MyServer.spec
index 5ec4b2a..7eb1ce7 100644
--- a/perl-DBIx-MyServer.spec
+++ b/perl-DBIx-MyServer.spec
@@ -1,12 +1,11 @@
 #
 # Conditional build:
 %bcond_without	tests		# do not perform "make test"
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define	pdir	DBIx
 %define	pnam	MyServer
+%include	/usr/lib/rpm/macros.perl
 Summary:	DBIx::MyServer - Server-side implementation of the MySQL network protocol
-#Summary(pl.UTF-8):
 Name:		perl-DBIx-MyServer
 Version:	0.42
 Release:	1
@@ -14,10 +13,9 @@ License:	GPL v2
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/DBIx/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	5ee5f09c206aae6af3f10c467c847a63
-#URL:		http://search.cpan.org/dist/DBIx-MyServer/
+URL:		http://search.cpan.org/dist/DBIx-MyServer/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-# generic URL, check or change before uncommenting
 %if %{with tests}
 BuildRequires:	perl-DBD-mysql
 BuildRequires:	perl-DBI
@@ -34,8 +32,6 @@ commands and queries and reply accordingly.
 Please see examples/myserver.pl for a system that allows building
 functional mysql servers that rewrite queries or return arbitary data.
 
-# %description -l pl.UTF-8 # TODO
-
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -48,12 +44,11 @@ functional mysql servers that rewrite queries or return arbitary data.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DBIx-MyServer.git/commitdiff/082218ffcaa0580bdf3ff8099d2df93700c3efe9



More information about the pld-cvs-commit mailing list