1419175 - [control-center] cannot add network printer

This commit is contained in:
Zdenek Dohnal 2017-03-08 15:10:00 +01:00
parent 931ed915d3
commit eaa9cfc484
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,21 @@
diff -up system-config-printer-1.5.9/Makefile.am.bz1419175 system-config-printer-1.5.9/Makefile.am
--- system-config-printer-1.5.9/Makefile.am.bz1419175 2017-03-08 15:00:02.434967635 +0100
+++ system-config-printer-1.5.9/Makefile.am 2017-03-08 15:01:06.992438164 +0100
@@ -52,7 +52,7 @@ cupshelpers/config.py: cupshelpers/confi
-e "s|\@cupsserverbindir\@|$(cupsserverbindir)|" \
$< > $@
-dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Printing.service.in
+dbus/org.fedoraproject.Config.Printing.service: dbus/org.fedoraproject.Config.Printing.service.in $(top_builddir)/config.status Makefile
sed \
-e "s|\@bindir\@|$(bindir)|" \
$< >$@
@@ -222,7 +222,7 @@ dbusinterfaces_DATA = \
dbus/org.fedoraproject.Config.Printing.xml
dbusinterfacesdir = $(datadir)/dbus-1/interfaces/
-dbusservices_DATA = \
+nodist_dbusservices_DATA = \
dbus/org.fedoraproject.Config.Printing.service
dbusservicesdir = $(datadir)/dbus-1/services/

View File

@ -9,12 +9,14 @@
Summary: A printer administration tool Summary: A printer administration tool
Name: system-config-printer Name: system-config-printer
Version: 1.5.9 Version: 1.5.9
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://github.com/%{username}/%{name} URL: https://github.com/%{username}/%{name}
Group: System Environment/Base Group: System Environment/Base
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Patch01: system-config-printer-1.5.9-bz1419175.patch
BuildRequires: cups-devel >= 1.2 BuildRequires: cups-devel >= 1.2
BuildRequires: desktop-file-utils >= 0.2.92 BuildRequires: desktop-file-utils >= 0.2.92
BuildRequires: gettext-devel BuildRequires: gettext-devel
@ -83,6 +85,7 @@ printers.
%prep %prep
%setup -q %setup -q
%patch01 -p1 -b .bz1419175
%build %build
%configure --with-udev-rules %configure --with-udev-rules
@ -187,6 +190,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
exit 0 exit 0
%changelog %changelog
* Wed Mar 08 2017 Zdenek Dohnal <zdohnal@redhat.com> - 1.5.9-3
- 1419175 - [control-center] cannot add network printer
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-2 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild