From dd9bab35c85bd8ffc6178457fa8db8844b58ba89 Mon Sep 17 00:00:00 2001 From: John Morris Date: Tue, 6 Aug 2013 17:12:32 -0500 Subject: Drop source xml.xsd; included in upstream tarball --- misc/bcfg2.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 3bc1a0a04..76624e142 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -39,7 +39,6 @@ Source0: ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-%{version}%{?_pre_rc}.tar Source1: ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-%{version}%{?_pre_rc}.tar.gz.gpg # Used in %%check Source2: http://www.w3.org/2001/XMLSchema.xsd -Source3: http://www.w3.org/2001/xml.xsd %if %{?rhel}%{!?rhel:10} <= 5 || 0%{?suse_version} # EL5 and OpenSUSE require the BuildRoot tag BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -513,7 +512,7 @@ rm -rf %{buildroot} # Downloads not allowed in koji; fix .xsd urls to point to local files sed -i "s@schema_url = .*\$@schema_url = 'file://`pwd`/`basename %{SOURCE2}`'@" \ testsuite/Testschema/test_schema.py -sed 's@http://www.w3.org/2001/xml.xsd@file://%{SOURCE3}@' \ +sed "s@http://www.w3.org/2001/xml.xsd@file://$(pwd)/schemas/xml.xsd@" \ %{SOURCE2} > `basename %{SOURCE2}` %{__python} setup.py test %endif -- cgit v1.2.3-1-g7c22