]> git.pld-linux.org Git - packages/perl-Graphics-ColorPicker.git/commitdiff
use generic url
authorElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 10:49:56 +0000 (12:49 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 25 Nov 2014 10:49:56 +0000 (12:49 +0200)
perl-Graphics-ColorPicker.spec

index ef967b6e46f9f62ad78b7ee53c87f7c00e530cac..c35f63d94db52eb8ee01dceb764b32f2ba3035de 100644 (file)
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
-%include       /usr/lib/rpm/macros.perl
+
 %define                pdir    Graphics
 %define                pnam    ColorPicker
+%include       /usr/lib/rpm/macros.perl
 Summary:       Graphics::ColorPicker - allows web applications selection of hex color numbers
 Summary(pl.UTF-8):     Graphics::ColorPicker - wybór szesnastkowych kodów kolorów dla aplikacji WWW
 Name:          perl-Graphics-ColorPicker
@@ -14,6 +14,7 @@ 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: 22130749d48845a8dcb13fdc7a6a5a70
+URL:           http://search.cpan.org/dist/Graphics-ColorPicker/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
@@ -58,7 +59,7 @@ install -d $RPM_BUILD_ROOT{%{cgidir},%{imgdir}}
 
 sed -e "/^use lib/d;s@'./'@'%{imgreldir}/'@" scripts/p_gen.cgi \
        > $RPM_BUILD_ROOT%{cgidir}/p_gen.cgi
-install images/* $RPM_BUILD_ROOT%{imgdir}
+cp -p images/* $RPM_BUILD_ROOT%{imgdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.105266 seconds and 4 git commands to generate.