commit 6b19042e5cd8c1c387e07e0f867ceca0cca254d8
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Nov 25 21:57:08 2014 +0200

    use generic url

 perl-Metadata.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/perl-Metadata.spec b/perl-Metadata.spec
index b3aeb3f..f3a0946 100644
--- a/perl-Metadata.spec
+++ b/perl-Metadata.spec
@@ -1,9 +1,9 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Metadata
+%include       /usr/lib/rpm/macros.perl
 Summary:       Metadata - classes for simple metadata
 Summary(pl.UTF-8):     Metadata - klasy dla prostych metadanych
 Name:          perl-Metadata
@@ -15,11 +15,12 @@ Group:              Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
 # Source0-md5: 59fb764edce6681e85feb80decafb3fa
 Patch0:                %{name}.patch
+URL:           http://search.cpan.org/dist/Metadata-/
 BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov
 %if %{with tests}
 BuildRequires: perl-TimeDate
 %endif
-BuildRequires: rpm-perlprov
 Requires:      perl-TimeDate
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -53,7 +54,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-Metadata.git/commitdiff/6b19042e5cd8c1c387e07e0f867ceca0cca254d8

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

Reply via email to