rpms/linkchecker/devel linkchecker.spec,1.26,1.27

W. Michael Petullo mikep at fedoraproject.org
Sun Dec 14 00:46:23 UTC 2008


Author: mikep

Update of /cvs/extras/rpms/linkchecker/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29674

Modified Files:
	linkchecker.spec 
Log Message:
Fix python_version definition.



Index: linkchecker.spec
===================================================================
RCS file: /cvs/extras/rpms/linkchecker/devel/linkchecker.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- linkchecker.spec	14 Dec 2008 00:42:53 -0000	1.26
+++ linkchecker.spec	14 Dec 2008 00:45:53 -0000	1.27
@@ -1,6 +1,6 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%{!?python_version: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")}
+%{!?python_version: %define python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")}
 
 Summary: Check HTML documents for broken links
 Name: linkchecker
@@ -54,13 +54,8 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %{_bindir}/linkchecker
-%ifarch x86_64 ppc64
 %{python_sitearch}/linkcheck/
 %{python_sitearch}/_linkchecker_configdata.*
-%else
-%{python_sitelib}/linkcheck/
-%{python_sitelib}/_linkchecker_configdata.*
-%endif
 %config(noreplace) %{_sysconfdir}/linkchecker
 %{_mandir}/man1/linkchecker.1*
 %lang(de) %{_mandir}/de/man1/linkchecker.1*




More information about the fedora-extras-commits mailing list