[GtkAda: 2/11] Conflict with GtkAda3-devel.

Björn Persson rombobeorn at fedoraproject.org
Thu Jul 24 20:56:24 UTC 2014


commit ddb89a345624247cf78070fbeeb5a67420127e51
Author: Björn Persson <Bjorn at Rombobjörn.se>
Date:   Sat Jan 25 16:52:33 2014 +0100

    Conflict with GtkAda3-devel.

 GtkAda.spec |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/GtkAda.spec b/GtkAda.spec
index 832988b..8f332d7 100644
--- a/GtkAda.spec
+++ b/GtkAda.spec
@@ -73,6 +73,22 @@ Requires:       %{name}-gl%{?_isa} = %{version}-%{release}
 Requires:       fedora-gnat-project-common >= 2
 # gtkada.pc requires gtk+-2.0, maybe incorrectly.
 Requires:       gtk2-devel%{?_isa}
+Conflicts:      GtkAda3-devel
+
+# GTKada 3.x is packaged as GtkAda3, and this is now a compatibility package.
+#
+# Unlike GTK+, GTKada has no support for installing two versions side by side,
+# other than dumping the entire directory tree under some nonstandard prefix
+# and requiring users to mess with various environment variables. Despite the
+# API incompatibilities, both versions use the filenames "gtkada.gpr" and
+# "gtkada-config", and directories named "gtkada".
+#
+# Hacking the build system to change various filenames from "gtkada" to
+# "gtkada3" would be more trouble than it's worth, and would make Fedora
+# incompatible with everything that uses GTKada. Both developers and packagers
+# would have to do special things to select the right version of the library.
+#
+# Therefore GtkAda-devel and GtkAda3-devel are allowed to conflict.
 
 %description devel %{common_description_en}
 


More information about the scm-commits mailing list