Fix configure.ac

This commit is contained in:
Marek Kasik 2011-11-22 13:52:47 +01:00
parent 5739942fbc
commit 0f76c2cd97
2 changed files with 20 additions and 1 deletions

View File

@ -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)

View File

@ -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 <mkasik@redhat.com> - 0.2.1-2
- Fix configure.ac
* Tue Nov 22 2011 Marek Kasik <mkasik@redhat.com> - 0.2.1-1
- Update to 0.2.1
- Remove upstreamed patches