Vinzenz Feenstra has uploaded a new change for review.

Change subject: agent: Disable GDM plugin building on Fedora 19+
......................................................................

agent: Disable GDM plugin building on Fedora 19+

Fedora 19 does no longer have a GDM with plugin capabilities.
To allow proper building of the package gdm plugins are no longer
built for Fedora 19 and higher.

Change-Id: Iff3f5a3c7c12d9c6ef198aefe163d9633d8364b3
Signed-off-by: Vinzenz Feenstra <[email protected]>
---
M ovirt-guest-agent.spec
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-guest-agent 
refs/changes/20/16920/1

diff --git a/ovirt-guest-agent.spec b/ovirt-guest-agent.spec
index 43f4ad7..7af54f7 100644
--- a/ovirt-guest-agent.spec
+++ b/ovirt-guest-agent.spec
@@ -46,6 +46,7 @@
 Requires: %{name} = %{version}-%{release}
 Requires: pam
 
+%if 0%{?fedora} < 19
 %package gdm-plugin
 Summary: GDM plug-in for the oVirt Guest Agent
 BuildRequires: dbus-glib-devel
@@ -55,6 +56,7 @@
 Requires: %{name} = %{version}-%{release}
 Requires: %{name}-pam-module = %{version}-%{release}
 Requires: gdm
+%end
 
 %package kdm-plugin
 Summary: KDM plug-in for the oVirt Guest Agent
@@ -82,9 +84,11 @@
 The oVirt PAM module provides the functionality necessary to use the
 oVirt automatic log-in system.
 
+%if 0%{?fedora} < 19
 %description gdm-plugin
 The GDM plug-in provides the functionality necessary to use the
 oVirt automatic log-in system.
+%endif
 
 %description kdm-plugin
 The KDM plug-in provides the functionality necessary to use the
@@ -97,6 +101,9 @@
 %configure \
     --enable-securedir=%{_moduledir} \
     --includedir=%{_includedir}/security \
+%if 0%{?fedora} >= 19
+    --without-gdm \
+%endif
     --with-pam-prefix=%{_sysconfdir}
 
 make %{?_smp_mflags}
@@ -197,6 +204,7 @@
 %exclude %{_moduledir}/pam_ovirt_cred.a
 %exclude %{_moduledir}/pam_ovirt_cred.la
 
+%if 0%{?fedora} < 19
 %files gdm-plugin
 %{_datadir}/icons/hicolor/*/*/*.png
 %dir %{_datadir}/gdm/simple-greeter/extensions/ovirtcred
@@ -205,6 +213,7 @@
 # Unwanted files
 %exclude %{_libdir}/gdm/simple-greeter/extensions/libovirtcred.a
 %exclude %{_libdir}/gdm/simple-greeter/extensions/libovirtcred.la
+%endif
 
 %files kdm-plugin
 %attr (755,root,root) %{_libdir}/kde4/kgreet_ovirtcred.so


-- 
To view, visit http://gerrit.ovirt.org/16920
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff3f5a3c7c12d9c6ef198aefe163d9633d8364b3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to