diff --git a/gutenprint-yyin.patch b/gutenprint-yyin.patch new file mode 100644 index 0000000..79658ca --- /dev/null +++ b/gutenprint-yyin.patch @@ -0,0 +1,26 @@ +diff -up gutenprint-5.2.9/src/gutenprintui2/Makefile.am.yyin gutenprint-5.2.9/src/gutenprintui2/Makefile.am +--- gutenprint-5.2.9/src/gutenprintui2/Makefile.am.yyin 2010-09-12 14:52:53.000000000 +0100 ++++ gutenprint-5.2.9/src/gutenprintui2/Makefile.am 2012-12-18 16:27:11.705127153 +0000 +@@ -55,7 +55,8 @@ libgutenprintui2_la_CFLAGS = $(AM_CFLAGS + # Uncomment to build a versioned library + libgutenprintui2_la_LDFLAGS = \ + -version-info $(GUTENPRINTUI2_CURRENT_INTERFACE):$(GUTENPRINTUI2_INTERFACE_AGE):$(GUTENPRINTUI2_BINARY_AGE) \ +- -rpath $(libdir) -no-undefined ++ -rpath $(libdir) -no-undefined \ ++ -export-symbols-regex '^([^y]|y[^y])' + + AM_LFLAGS = -i + AM_YFLAGS = -d +diff -up gutenprint-5.2.9/src/gutenprintui2/Makefile.in.yyin gutenprint-5.2.9/src/gutenprintui2/Makefile.in +--- gutenprint-5.2.9/src/gutenprintui2/Makefile.in.yyin 2012-07-07 16:36:19.000000000 +0100 ++++ gutenprint-5.2.9/src/gutenprintui2/Makefile.in 2012-12-18 16:27:11.705127153 +0000 +@@ -367,7 +367,8 @@ libgutenprintui2_la_CFLAGS = $(AM_CFLAGS + # Uncomment to build a versioned library + libgutenprintui2_la_LDFLAGS = \ + -version-info $(GUTENPRINTUI2_CURRENT_INTERFACE):$(GUTENPRINTUI2_INTERFACE_AGE):$(GUTENPRINTUI2_BINARY_AGE) \ +- -rpath $(libdir) -no-undefined ++ -rpath $(libdir) -no-undefined \ ++ -export-symbols-regex '^([^y]|y[^y])' + + AM_LFLAGS = -i + AM_YFLAGS = -d diff --git a/gutenprint.spec b/gutenprint.spec index 6ea7246..3a37f6a 100644 --- a/gutenprint.spec +++ b/gutenprint.spec @@ -3,7 +3,7 @@ Name: gutenprint Summary: Printer Drivers Package Version: 5.2.9 -Release: 6%{?dist} +Release: 7%{?dist} Group: System Environment/Base URL: http://gimp-print.sourceforge.net/ Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2 @@ -17,6 +17,7 @@ Patch2: gutenprint-selinux.patch Patch3: gutenprint-postscriptdriver.patch Patch4: gutenprint-device-ids.patch Patch5: gutenprint-ui2-libdeps.patch +Patch6: gutenprint-yyin.patch License: GPLv2+ BuildRequires: cups-libs >= 1.1.22-0.rc1.9.10, cups >= 1.1.22-0.rc1.9.10 @@ -178,6 +179,9 @@ Epson, HP and compatible printers. # 5.2.9 has had wrong libgutenprintui2 dependencies %patch5 -p1 -b .ui2_libdeps +# Don't export yy* symbols (bug #882194). +%patch6 -p1 -b .yyin + cp %{SOURCE2} src/cups/cups-genppdupdate.in %build @@ -296,6 +300,9 @@ fi /bin/rm -f /var/cache/foomatic/* %changelog +* Tue Dec 18 2012 Tim Waugh 5.2.9-7 +- Don't export yy* symbols (bug #882194). + * Fri Dec 07 2012 Jiri Popelka 5.2.9-6 - 5.2.9 has had wrong libgutenprintui2 dependencies