summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-09-17 10:02:01 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-09-23 20:28:47 +0200
commitfaba3f060e7513790d584bde3a9901793031fcf1 (patch)
tree4508144e3d5388cd33099ba2821d6915fa395cf8
parent26188d7610170ff2fb89b12cd63a0c698a2381cb (diff)
downloadfreeipa-faba3f060e7513790d584bde3a9901793031fcf1.tar.gz
freeipa-faba3f060e7513790d584bde3a9901793031fcf1.tar.xz
freeipa-faba3f060e7513790d584bde3a9901793031fcf1.zip
Allow RPM upgrade from ipa-* packages
https://fedorahosted.org/freeipa/ticket/4532 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r--freeipa.spec.in21
1 files changed, 16 insertions, 5 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 113829914..0e2b27955 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -1,6 +1,7 @@
# Define ONLY_CLIENT to only make the ipa-client and ipa-python subpackages
%{!?ONLY_CLIENT:%global ONLY_CLIENT 0}
+%global alt_name ipa
%global plugin_dir %{_libdir}/dirsrv/plugins
%global POLICYCOREUTILSVER 2.1.12-5
%global gettext_domain ipa
@@ -128,6 +129,9 @@ Requires(pre): 389-ds-base >= 1.3.3.2
Requires: fontawesome-fonts
Requires: open-sans-fonts
+Conflicts: %{alt_name}-server
+Obsoletes: %{alt_name}-server < %{version}
+
# With FreeIPA 3.3, package freeipa-server-selinux was obsoleted as the
# entire SELinux policy is stored in the system policy
Obsoletes: freeipa-server-selinux < 3.3.0
@@ -142,8 +146,6 @@ Conflicts: bind < 9.8.2-0.4.rc2
# member.
Conflicts: nss-pam-ldapd < 0.8.4
-Obsoletes: ipa-server >= 1.0
-
%description server
IPA is an integrated solution to provide centrally managed Identity (machine,
user, virtual machines, groups, authentication credentials), Policy
@@ -172,6 +174,9 @@ Requires(post): python
Requires(postun): %{_sbindir}/update-alternatives
Requires(preun): %{_sbindir}/update-alternatives
+Conflicts: %{alt_name}-server-trust-ad
+Obsoletes: %{alt_name}-server-trust-ad < %{version}
+
%description server-trust-ad
Cross-realm trusts with Active Directory in IPA require working Samba 4
installation. This package is provided for convenience to install all required
@@ -207,7 +212,8 @@ Requires: nfs-utils
Requires: python-backports-ssl_match_hostname
Requires(post): policycoreutils
-Obsoletes: ipa-client >= 1.0
+Conflicts: %{alt_name}-client
+Obsoletes: %{alt_name}-client < %{version}
%description client
IPA is an integrated solution to provide centrally managed Identity (machine,
@@ -226,7 +232,8 @@ Requires: %{name}-client = %{version}-%{release}
Requires: python-krbV
Requires: python-ldap
-Obsoletes: ipa-admintools >= 1.0
+Conflicts: %{alt_name}-admintools
+Obsoletes: %{alt_name}-admintools < %{version}
%description admintools
IPA is an integrated solution to provide centrally managed Identity (machine,
@@ -253,7 +260,8 @@ Requires: python-pyasn1
Requires: python-dateutil
Requires: python-yubico
-Obsoletes: ipa-python >= 1.0
+Conflicts: %{alt_name}-python
+Obsoletes: %{alt_name}-python < %{version}
%description python
IPA is an integrated solution to provide centrally managed Identity (machine,
@@ -275,6 +283,9 @@ Requires: python-coverage
Requires: python-polib
Requires: python-paramiko >= 1.7.7
+Conflicts: %{alt_name}-tests
+Obsoletes: %{alt_name}-tests < %{version}
+
%description tests
IPA is an integrated solution to provide centrally managed Identity (machine,
user, virtual machines, groups, authentication credentials), Policy