rpms/linkchecker/F-8 linkchecker.spec,1.22,1.23

W. Michael Petullo mikep at fedoraproject.org
Sun Dec 14 01:22:23 UTC 2008


Author: mikep

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

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



Index: linkchecker.spec
===================================================================
RCS file: /cvs/extras/rpms/linkchecker/F-8/linkchecker.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- linkchecker.spec	11 Sep 2007 00:40:57 -0000	1.22
+++ linkchecker.spec	14 Dec 2008 01:21:52 -0000	1.23
@@ -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: 10%{?dist}
+Release: 14%{?dist}
 License: GPLv2
 Group: Development/Tools
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -43,6 +44,8 @@
 %{__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-py%{python_version}.egg-info
+
 %find_lang %{name}
 
 %clean
@@ -51,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*
@@ -65,6 +63,18 @@
 %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.
+
 * Mon Sep 10 2007 W. Michael Petullo <mike[at]flyn.org> - 4.7-10
    - Bump version to retag with new sources.
 




More information about the fedora-extras-commits mailing list