Dne 7.8.2015 v 09:17 Martin Kosek napsal(a):
On 08/07/2015 08:46 AM, Jan Cholasta wrote:
Dne 7.8.2015 v 08:44 Martin Kosek napsal(a):
On 08/06/2015 05:26 PM, Milan Kubík wrote:
Hi list,

I just noticed that the bits built from ipa-4-2 branch cannot be
installed.
The freeipa packages built have version such as
freeipa-server-dns-4.2.0-0.20150806083844Zjenkins9git2812242.fc22.x86_64

The version check in the spec file makes the server-dns package
obsolete the
server package from tha same build.
The cause is the commit [1]. This issue blocks us from running tests
on ipa-4-2
branch.

Should we bump the minor version on this branch to 4.2.1?

[1]:
https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=f555fe95dba9ec453fa10f160089dcc5404f724a





Cheers,
Milan

Why does the spec calls for

# upgrade path from monolithic -server to -server + -server-dns
Obsoletes: %{name}-server <= 4.2.0

and not for

# upgrade path from monolithic -server to -server + -server-dns
Obsoletes: %{name}-server < 4.2.0

? Is that the root cause of these issues?

AFAIK this would break updates from 4.2.0 to 4.2.1.

I wonder how it could break the upgrade...


Patch attached.

--
Jan Cholasta
From a7fb34f1a4c32fb8fc1934e95ffbb26ed0d27e06 Mon Sep 17 00:00:00 2001
From: Jan Cholasta <jchol...@redhat.com>
Date: Mon, 10 Aug 2015 15:19:56 +0200
Subject: [PATCH] spec file: Fix install with the server-dns subpackage

---
 freeipa.spec.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/freeipa.spec.in b/freeipa.spec.in
index 57d3d26..0015191 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -169,7 +169,7 @@ Obsoletes: %{alt_name}-server < %{version}
 Obsoletes: freeipa-server-selinux < 3.3.0
 
 # upgrade path from monolithic -server to -server + -server-dns
-Obsoletes: %{name}-server <= 4.2.0
+Obsoletes: %{name}-server < 4.2.1
 
 # Versions of nss-pam-ldapd < 0.8.4 require a mapping from uniqueMember to
 # member.
@@ -206,7 +206,7 @@ Conflicts: %{alt_name}-server-dns
 Obsoletes: %{alt_name}-server-dns < %{version}
 
 # upgrade path from monolithic -server to -server + -server-dns
-Obsoletes: %{name}-server <= 4.2.0
+Obsoletes: %{name}-server < 4.2.1
 
 %description server-dns
 IPA integrated DNS server with support for automatic DNSSEC signing.
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to