upstream patch for udev-add-printer and python3

updated requirements to -py3 versions [release 1.5.7-2mamba;Mon Apr 04 2016]
This commit is contained in:
Silvan Calarco 2024-01-05 18:18:34 +01:00
parent 9b0e6d1d5f
commit cc0953cd06
2 changed files with 29 additions and 3 deletions

View File

@ -0,0 +1,19 @@
From 68f059e44942467ddeee4977d10f2b3a961c9f3a Mon Sep 17 00:00:00 2001
From: Tim Waugh <twaugh@redhat.com>
Date: Tue, 12 May 2015 09:56:27 +0100
Subject: [PATCH] Fixed shbang line in udev/udev-add-printer (trac #244).
---
udev/udev-add-printer | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/udev/udev-add-printer b/udev/udev-add-printer
index 3622d61..fec3c42 100755
--- a/udev/udev-add-printer
+++ b/udev/udev-add-printer
@@ -1,4 +1,4 @@
-#!/usr/bin/python3 -s -B
+#!/usr/bin/python3 -sB
## udev-add-printer

View File

@ -2,7 +2,7 @@
Name: system-config-printer
Version: 1.5.7
Release: 1mamba
Release: 2mamba
Summary: Helper functions and classes for using CUPS
Group: System/Libraries/Python
Vendor: openmamba
@ -12,6 +12,7 @@ URL: http://cyberelk.net/tim/software/system-config-printer/
Source: http://cyberelk.net/tim/data/system-config-printer/%majver/system-config-printer-%{version}.tar.xz
Patch0: system-config-printer-1.4.1-newprinter-smb_select_function-argsfix.patch
Patch1: system-config-printer-1.4.3-scp-dbus-service-fix-dbus-signature-typo.patch
Patch2: system-config-printer-1.5.7-python3-udev-add-printer.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -32,8 +33,9 @@ Obsoletes: python-cupshelpers
Requires: desktop-file-utils
Requires: python-pynotify
Requires: python-smbc
Requires: python-cups
Requires: pygobject
Requires: python-cups-py3
Requires: python-requests-py3
Requires: pygobject-py3
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -44,6 +46,7 @@ The purpose of the tool is to configure a CUPS server (often the local machine)
%setup -q -n system-config-printer-%{version}
#%patch0 -p1
#%patch1 -p1
%patch2 -p1
%build
%configure \
@ -85,6 +88,10 @@ The purpose of the tool is to configure a CUPS server (often the local machine)
%{_mandir}/man1/system-config-printer-applet.1*
%changelog
* Mon Apr 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.7-2mamba
- upstream patch for udev-add-printer and python3
- updated requirements to -py3 versions
* Sat May 02 2015 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
- automatic version update by autodist