rdieter pushed to lightdm (master). "gobject: add versioned Requires: glib2 dep"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 15 08:33:12 UTC 2015
>From 85801fe833302f762bff9c5942be2797c1287227 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Wed, 15 Apr 2015 03:33:05 -0500
Subject: gobject: add versioned Requires: glib2 dep
diff --git a/lightdm.spec b/lightdm.spec
index 919628e..59ae47d 100644
--- a/lightdm.spec
+++ b/lightdm.spec
@@ -5,7 +5,7 @@
Name: lightdm
Summary: Lightweight Display Manager
Version: 1.10.4
-Release: 5%{?dist}
+Release: 6%{?dist}
# library/bindings are LGPLv2 or LGPLv3, the rest GPLv3+
License: (LGPLv2 or LGPLv3) and GPLv3+
@@ -40,6 +40,7 @@ BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-export-2.0)
BuildRequires: pkgconfig(gobject-2.0)
+%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo "2.10")
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
BuildRequires: pkgconfig(libxklavier)
BuildRequires: pkgconfig(QtCore)
@@ -86,6 +87,7 @@ Summary: LightDM GObject client library
# requires greeters to manually
# Requires: lightdm
#Requires: %{name} = %{version}-%{release}
+Requires: glib2%{?_isa} >= %{glib2_version}
%description gobject
This package contains a GObject based library for LightDM clients to use to
interface with LightDM.
@@ -249,6 +251,9 @@ exit 0
%changelog
+* Wed Apr 15 2015 Rex Dieter <rdieter at fedoraproject.org> 1.10.4-6
+- -gobject: add versioned Requires: glib2 dep
+
* Tue Feb 24 2015 Rex Dieter <rdieter at fedoraproject.org> 1.10.4-5
- try harder to disable hardening
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/lightdm.git/commit/?h=master&id=85801fe833302f762bff9c5942be2797c1287227
More information about the scm-commits
mailing list