rpms/w3c-markup-validator/EL-5 w3c-markup-validator.spec,1.14,1.15

Nathanael Noblet gnat at fedoraproject.org
Tue Apr 13 04:14:42 UTC 2010


Author: gnat

Update of /cvs/pkgs/rpms/w3c-markup-validator/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23775

Modified Files:
	w3c-markup-validator.spec 
Log Message:
sync to version in devel


Index: w3c-markup-validator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/w3c-markup-validator/EL-5/w3c-markup-validator.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- w3c-markup-validator.spec	12 Apr 2010 20:52:21 -0000	1.14
+++ w3c-markup-validator.spec	13 Apr 2010 04:14:42 -0000	1.15
@@ -27,6 +27,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 
 BuildArch:      noarch
 BuildRequires:  %{__perl}
+BuildRequires:  xz
 Requires:       httpd
 Requires:       %{name}-libs = %{version}
 Requires(hint): perl(HTML::Tidy)
@@ -47,7 +48,12 @@ SGML and XML DTDs for the W3C Markup Val
 
 
 %prep
-%setup -q -n validator-%{version}
+rm -rf validator-%{version}
+xz -dc %{SOURCE0} | tar -xf -
+if [ $? -ne 0 ]; then
+  exit $?;
+fi
+%setup -T -D -n validator-%{version}
 
 # Remove not needed stuff
 rm -r htdocs/sgml-lib/REC-html401-19991224




More information about the perl-devel mailing list