commit 69ae04254d842d47c5f3fdb153c10a30f770528e
Author: Elan Ruusamäe <[email protected]>
Date: Wed Nov 26 12:36:18 2014 +0200
use generic url
perl-Regexp-Log.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Regexp-Log.spec b/perl-Regexp-Log.spec
index 9135c74..b879a77 100644
--- a/perl-Regexp-Log.spec
+++ b/perl-Regexp-Log.spec
@@ -1,10 +1,10 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Regexp
%define pnam Log
+%include /usr/lib/rpm/macros.perl
Summary: Regexp::Log - base class for log files regexp builders
Summary(pl.UTF-8): Regexp::Log - klasa bazowa do tworzenia wyrażeń
regularnych dla plików logów
Name: perl-Regexp-Log
@@ -15,9 +15,12 @@ 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: 0047fed2a6b0a1182f2b7d886cfa846c
-%{?with_tests:BuildRequires: perl-Test-Simple}
+URL: http://search.cpan.org/dist/Regexp-Log/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Simple
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Regexp-Log.git/commitdiff/69ae04254d842d47c5f3fdb153c10a30f770528e
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit