commit 20f191facfaae2cb8cd777cdf4a17df25a439c98
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Nov 25 21:59:24 2014 +0200

    use generic url

 perl-Net-SOCKS.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Net-SOCKS.spec b/perl-Net-SOCKS.spec
index f82cf0f..dddd105 100644
--- a/perl-Net-SOCKS.spec
+++ b/perl-Net-SOCKS.spec
@@ -1,7 +1,9 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
+
+%define                pdir    Net
+%define                pnam    SOCKS
 %include       /usr/lib/rpm/macros.perl
 Summary:       Net::SOCKS perl module
 Summary(pl.UTF-8):     Moduł perla Net::SOCKS
@@ -14,8 +16,9 @@ Group:                Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/Net/SOCKS-%{version}.tar.gz
 # Source0-md5: 81f63a1fb252d211a083909fbdc1611b
 Patch0:                %{name}-paths.patch
-BuildRequires: rpm-perlprov >= 4.1-13
+URL:           http://search.cpan.org/dist/Net-SOCKS/
 BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,7 +45,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-install example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-SOCKS.git/commitdiff/20f191facfaae2cb8cd777cdf4a17df25a439c98

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to