diff --git a/driconf.spec b/driconf.spec index eeb0678..cabcbff 100644 --- a/driconf.spec +++ b/driconf.spec @@ -2,7 +2,7 @@ Name: driconf Version: 0.9.1 -Release: 8%{?dist} +Release: 11%{?dist} Summary: A configuration applet for the Direct Rendering Infrastructure Group: User Interface/X @@ -12,6 +12,7 @@ Source0: http://people.freedesktop.org/~fxkuehl/driconf/driconf-%{version Patch1: driconf-0.9.1-setup.patch Patch2: driconf-0.9.1-glxinfo-unicode.patch Patch3: driconf-0.9.1-update-toolbar-methods.patch +Patch4: http://patch-tracking.debian.net/patch/misc/dl/driconf/0.9.1-2/driconf_simpleui.py BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -36,6 +37,7 @@ DRIConf is written in Python with the python-gtk toolkit bindings. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %{__python} setup.py build @@ -83,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/driconf_simpleui.py %{python_sitelib}/driconf_simpleui.pyc %{python_sitelib}/driconf_simpleui.pyo -%{python_sitelib}/driconf-0.9.1-py2.5.egg-info +%{python_sitelib}/driconf-0.9.1-py?.?.egg-info %dir %{_datadir}/driconf %{_datadir}/driconf/card.png %{_datadir}/driconf/drilogo.jpg @@ -93,6 +95,15 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/applications/*.desktop %changelog +* Tue Feb 03 2009 Kevin Fenzi - 0.9.1-11 +- Add patch for traceback issue (fixes bug #482915) + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.9.1-10 +- Fix locations for Python 2.6 + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.9.1-9 +- Rebuild for Python 2.6 + * Sun Jun 8 2008 Kevin Fenzi - 0.9.1-8 - Improve unicode support (fixes bug #450083) diff --git a/driconf_simpleui.py b/driconf_simpleui.py new file mode 100644 index 0000000..c021570 --- /dev/null +++ b/driconf_simpleui.py @@ -0,0 +1,15 @@ + +--- driconf-0.9.1.orig/driconf_simpleui.py ++++ driconf-0.9.1/driconf_simpleui.py +@@ -266,8 +266,8 @@ + j = i + break + i = i - 1 +- if i < chars/3: +- i = chars ++ else: ++ i = j = chars + head, tail = head + tail[:i] + '\n', tail[j:] + return head + +