rpms/linkchecker/F-9 linkchecker.spec,1.23,1.24

W. Michael Petullo mikep at fedoraproject.org
Sun Dec 14 01:16:11 UTC 2008


Author: mikep

Update of /cvs/extras/rpms/linkchecker/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2873

Modified Files:
	linkchecker.spec 
Log Message:
Make more independent of Python version.



Index: linkchecker.spec
===================================================================
RCS file: /cvs/extras/rpms/linkchecker/F-9/linkchecker.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- linkchecker.spec	13 Feb 2008 17:33:39 -0000	1.23
+++ linkchecker.spec	14 Dec 2008 01:15:40 -0000	1.24
@@ -1,10 +1,11 @@
 %{!?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_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")}
 
 Summary: Check HTML documents for broken links
 Name: linkchecker
 Version: 4.7
-Release: 11%{?dist}
+Release: 14%{?dist}
 License: GPLv2
 Group: Development/Tools
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -43,7 +44,7 @@
 %{__install} -D -m 0644 build/share/locale/fr/LC_MESSAGES/linkchecker.mo %{buildroot}%{_datadir}/locale/fr/LC_MESSAGES/linkchecker.mo
 %{__install} -D -m 0644 build/share/locale/es/LC_MESSAGES/linkchecker.mo %{buildroot}%{_datadir}/locale/es/LC_MESSAGES/linkchecker.mo
 
-rm -f %{buildroot}%{python_sitearch}/linkchecker-4.7-py2.5.egg-info
+rm -f %{buildroot}%{python_sitearch}/linkchecker-4.7-py%{python_version}.egg-info
 
 %find_lang %{name}
 
@@ -53,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*
@@ -67,6 +63,15 @@
 %doc TODO doc/en README COPYING
 
 %changelog
+* Sat Dec 12 2008 W. Michael Petullo <mike[at]flyn.org> - 4.7-14
+   - Dynamically discover version (for .egg-info), do not hard code.
+
+* Sat Dec 12 2008 W. Michael Petullo <mike[at]flyn.org> - 4.7-13
+   - linkchecker-4.7-py2.5.egg-info -> 2.6.
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 4.7-12
+   - Rebuild for Python 2.6
+
 * Wed Feb 13 2008 W. Michael Petullo <mike[at]flyn.org> - 4.7-11
    - Don't install linkchecker-4.7-py2.5.egg-info.
 




More information about the fedora-extras-commits mailing list