[packages/perl-Time-Beat] use generic url

glen glen at pld-linux.org
Sun Nov 30 15:36:54 CET 2014


commit c639a8343d24285744f47522838f90217bbaf232
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 30 16:36:50 2014 +0200

    use generic url

 perl-Time-Beat.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-Time-Beat.spec b/perl-Time-Beat.spec
index fe6db28..b345d5b 100644
--- a/perl-Time-Beat.spec
+++ b/perl-Time-Beat.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_with	tests	# perform "make test" (requires working $DISPLAY)
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	Time
 %define		pnam	Beat
+%include	/usr/lib/rpm/macros.perl
 Summary:	Time::Beat perl module
 Summary(pl.UTF-8):	Moduł perla Time::Beat
 Name:		perl-Time-Beat
@@ -15,8 +15,9 @@ Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	effbcb318952fe3ed876200ec22626d6
 Source1:	cc-license.html
-BuildRequires:	rpm-perlprov >= 4.1-13
+URL:		http://search.cpan.org/dist/Time-Beat/
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,8 +25,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Time::Beat allows to convert from standard time to swatch 'beat' time.
 
 %description -l pl.UTF-8
-Time::Beat pozwala na konwersję czasu w standardowym formacie na format
-'swatcha'.
+Time::Beat pozwala na konwersję czasu w standardowym formacie na
+format 'swatcha'.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -42,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} LICENSE
+cp -p %{SOURCE1} LICENSE
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Time-Beat.git/commitdiff/c639a8343d24285744f47522838f90217bbaf232



More information about the pld-cvs-commit mailing list