From 2486a21d19e7010e8ee305dbfa02cc856a9aefdf Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 5 May 2006 11:34:34 +0000 Subject: [PATCH] - Added missing options.py file. - Fix getClasses() in pycups. --- system-config-printer.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/system-config-printer.spec b/system-config-printer.spec index 521c1b4..daa3953 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -8,6 +8,8 @@ License: GPL Group: System Environment/Base Source0: system-config-printer-%{version}.tar.bz2 Source1: pycups-%{pycups_version}.tar.bz2 +Source2: options.py +Patch0: pycups-no-classes.patch %{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')} @@ -29,6 +31,9 @@ the user to configure a CUPS print server. %prep %setup -q -a 1 +pushd pycups-%{pycups_version} +%patch0 -p1 -b .no-classes +popd %build pushd pycups-%{pycups_version} @@ -43,7 +48,7 @@ popd mkdir -p %buildroot%{_datadir}/%{name} mkdir -p %buildroot%{_bindir} -install -m0644 *.py %buildroot%{_datadir}/%{name}/ +install -m0644 *.py %{SOURCE2} %buildroot%{_datadir}/%{name}/ install -m0644 *.glade %buildroot%{_datadir}/%{name}/ chmod 755 %buildroot%{_datadir}/%{name}/%{name}.py install -m0755 %{name} %buildroot%{_bindir}/ @@ -70,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/applications/redhat-system-config-printer.desktop %changelog +* Fri May 5 2006 Tim Waugh +- Added missing options.py file. +- Fix getClasses() in pycups. + * Thu May 4 2006 Tim Waugh 0.7.7-1 - Updated to system-config-printer-0.7.7. - Updated to pycups-1.9.9.