From 0f76c2cd97cd41aaa55ab2630e72b7e6a1fabc48 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Tue, 22 Nov 2011 13:52:47 +0100 Subject: [PATCH] Fix configure.ac --- cups-pk-helper-configure.patch | 16 ++++++++++++++++ cups-pk-helper.spec | 5 ++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 cups-pk-helper-configure.patch diff --git a/cups-pk-helper-configure.patch b/cups-pk-helper-configure.patch new file mode 100644 index 0000000..84995e6 --- /dev/null +++ b/cups-pk-helper-configure.patch @@ -0,0 +1,16 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -37,11 +37,11 @@ GIO_REQUIRED=2.29.8 + POLKIT_REQUIRED=0.97 + + # pkg-config dependency checks +-PKG_CHECK_MODULES(CUPS_PK, gio-2.0 >= $GIO_REQUIRED polkit-gobject-1 >= $POLKIT_REQUIRED) ++PKG_CHECK_MODULES(CUPS_PK, gio-2.0 >= $GIO_REQUIRED gio-unix-2.0 >= $GIO_REQUIRED polkit-gobject-1 >= $POLKIT_REQUIRED) + AC_SUBST(CUPS_PK_CFLAGS) + AC_SUBST(CUPS_PK_LIBS) + +-PKG_CHECK_MODULES(TEST, gio-2.0 >= $GIO_REQUIRED) ++PKG_CHECK_MODULES(TEST, gio-2.0 >= $GIO_REQUIRED gio-unix-2.0 >= $GIO_REQUIRED) + AC_SUBST(TEST_CFLAGS) + AC_SUBST(TEST_LIBS) + diff --git a/cups-pk-helper.spec b/cups-pk-helper.spec index eb902a7..d97cc23 100644 --- a/cups-pk-helper.spec +++ b/cups-pk-helper.spec @@ -1,6 +1,6 @@ Name: cups-pk-helper Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A helper that makes system-config-printer use PolicyKit Group: System Environment/Base @@ -69,6 +69,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %changelog +* Tue Nov 22 2011 Marek Kasik - 0.2.1-2 +- Fix configure.ac + * Tue Nov 22 2011 Marek Kasik - 0.2.1-1 - Update to 0.2.1 - Remove upstreamed patches