diff --git a/system-config-printer-1.5.9-bz1419175.patch b/system-config-printer-1.5.9-bz1419175.patch new file mode 100644 index 0000000..1cfe157 --- /dev/null +++ b/system-config-printer-1.5.9-bz1419175.patch @@ -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/ + diff --git a/system-config-printer.spec b/system-config-printer.spec index 0048018..2f218ae 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -9,12 +9,14 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.5.9 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://github.com/%{username}/%{name} Group: System Environment/Base 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: desktop-file-utils >= 0.2.92 BuildRequires: gettext-devel @@ -83,6 +85,7 @@ printers. %prep %setup -q +%patch01 -p1 -b .bz1419175 %build %configure --with-udev-rules @@ -187,6 +190,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris exit 0 %changelog +* Wed Mar 08 2017 Zdenek Dohnal - 1.5.9-3 +- 1419175 - [control-center] cannot add network printer + * Sat Feb 11 2017 Fedora Release Engineering - 1.5.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild