Browse Source

use new l_test macro

master
parent
commit
b92f168386
  1. 12
      perl-xml/perl-xml.spec

12
perl-xml/perl-xml.spec

@ -45,10 +45,10 @@
# package options
%ifndef with_libxml
%define with_libxml no
%define with_libxml %{l_test -p libxml}
%endif
%ifndef with_libxslt
%define with_libxslt no
%define with_libxslt %{l_test -p libxslt}
%endif
%if "%{with_libxslt}" == "yes" && "%{with_libxml}" == "no"
%define with_libxml yes
@ -63,8 +63,8 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [BASE]
Group: Language
License: GPL/Artistic
Version: 20021001
Release: 20021001
Version: 20021003
Release: 20021003
# list of sources
Source0: http://www.cpan.org/modules/by-module/XML/XML-Parser-%{V_xml_parser}.tar.gz
@ -89,8 +89,8 @@ Source17: http://www.cpan.org/modules/by-module/XML/XML-LibXSLT-%{V_xml_libx
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, perl, expat
PreReq: OpenPKG, openpkg >= 20020206, perl
BuildPreReq: OpenPKG, openpkg >= 20021002, perl, expat
PreReq: OpenPKG, openpkg >= 20021002, perl
%if "%{with_libxml}" == "yes"
BuildPreReq: libxml
%endif

Loading…
Cancel
Save