]> git.pld-linux.org Git - packages/perl-libxml.git/blobdiff - perl-libxml.spec
- new bcond style; some cosmetics here and there; changelog cleanups
[packages/perl-libxml.git] / perl-libxml.spec
index f8b3706ce73d198af6b4010bfe2734581ae3c72d..584380a21e9884ebe02b04582b78715a4bfc3261 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_tests - perform "make test"
+%bcond_with    tests   # perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    XML
@@ -19,8 +19,8 @@ BuildRequires:        perl-devel >= 5.6.1
 BuildRequires: perl-XML-Parser >= 2.19
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     perl-libxml-perl
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautoreqdep   'perl(UNIVERSAL)'
 
@@ -43,7 +43,7 @@ XML::Parser, PerlSAX, XML::DOM, XML::Grove i innymi.
        INSTALLDIRS=vendor
 %{__make}
 
-%{?_with_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.105445 seconds and 4 git commands to generate.