[packages/perl-HTML-CalendarMonthDB] use generic url
glen
glen at pld-linux.org
Tue Nov 25 11:51:23 CET 2014
commit b669303df9476e521c62dfbe1125f283434f5ff6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Nov 25 12:51:19 2014 +0200
use generic url
perl-HTML-CalendarMonthDB.spec | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-HTML-CalendarMonthDB.spec b/perl-HTML-CalendarMonthDB.spec
index 95553c8..209b461 100644
--- a/perl-HTML-CalendarMonthDB.spec
+++ b/perl-HTML-CalendarMonthDB.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir HTML
%define pnam CalendarMonthDB
+%include /usr/lib/rpm/macros.perl
Summary: HTML::CalendarMonthDB - generating HTML calendar with persistant data
Summary(pl.UTF-8): HTML::CalendarMonthDB - generowanie kalendarza w HTML z trwałymi danymi
Name: perl-HTML-CalendarMonthDB
@@ -14,12 +14,13 @@ License: free (see README)
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: b9297144606d7ba3ba6eea93eda3c9ec
+URL: http://search.cpan.org/dist/HTML-CalendarMonthDB/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-DBI
BuildRequires: perl-Date-Calc
%endif
-BuildRequires: perl-devel >= 1:5.8.0
-BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -57,7 +58,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install cgi/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p cgi/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-CalendarMonthDB.git/commitdiff/b669303df9476e521c62dfbe1125f283434f5ff6
More information about the pld-cvs-commit
mailing list