]> git.pld-linux.org Git - packages/perl-Term-ReadLine-Gnu.git/commitdiff
- new bcond style; some cosmetics here and there; changelog cleanups
authoreothane <eothane@pld-linux.org>
Sat, 13 Mar 2004 23:09:17 +0000 (23:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Term-ReadLine-Gnu.spec -> 1.53

perl-Term-ReadLine-Gnu.spec

index ba097d23e0c617e86d2b15c21ecdaa986304ab85..a4bfa724225956554f19fb7dfa5e636e28e40e8c 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_tests - perform "make test"
+%bcond_with    tests   # perform "make test" (require a working X connection)
 #
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Term
@@ -35,8 +35,8 @@ BuildRequires:        perl-devel >= 5.6.1
 BuildRequires: readline-devel >= 4.2
 BuildRequires: rpm-perlprov >= 4.1-13
 Provides:      perl(Term::ReadLine::Gnu::XS)
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     perl-Term-Readline-Gnu
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Perl Term::ReadLine::Gnu module.
@@ -67,8 +67,7 @@ oprogramowa
        INSTALLDIRS=vendor
 %{__make} OPTIMIZE="%{rpmcflags} -DPERL_POLLUTE"
 
-# tests require a working X connection
-%{?_with_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.168097 seconds and 4 git commands to generate.