summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@fedoraproject.org>2009-04-06 17:45:29 +0000
committerNalin Dahyabhai <nalin@fedoraproject.org>2009-04-06 17:45:29 +0000
commit5ee95cc082ca120a66eab4ff1a2c8a4d5320847e (patch)
treefc9707e95cded77e73fca2cc744f08aac250adb9
parent98a36100025ae2ecc78641c3335e24325315c40e (diff)
- clean up buildprereq/prereqs, explicit mktemp requires, and add the
ldconfig for the -server-ldap subpackage (part of #225974)
-rw-r--r--krb5.spec28
1 files changed, 17 insertions, 11 deletions
diff --git a/krb5.spec b/krb5.spec
index 51b389d..5a4645c 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -103,9 +103,8 @@ License: MIT
URL: http://web.mit.edu/kerberos/www/
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Prereq: grep, info, sh-utils, /sbin/install-info
-BuildPrereq: autoconf, bison, e2fsprogs-devel >= 1.35, flex, gawk
-BuildPrereq: gzip, ncurses-devel, rsh, texinfo, texinfo-tex, tar
+BuildRequires: autoconf, bison, e2fsprogs-devel >= 1.35, flex, gawk
+BuildRequires: gzip, ncurses-devel, rsh, texinfo, texinfo-tex, tar
BuildRequires: tetex-latex
BuildRequires: keyutils-libs-devel
BuildRequires: libselinux-devel
@@ -138,8 +137,6 @@ to install this package.
%package libs
Summary: The shared libraries used by Kerberos 5.
Group: System Environment/Libraries
-Prereq: grep, /sbin/ldconfig, sh-utils
-Obsoletes: krb5-configs
%description libs
Kerberos is a network authentication system. The krb5-libs package
@@ -150,7 +147,11 @@ Kerberos, you need to install this package.
Group: System Environment/Daemons
Summary: The KDC and related programs for Kerberos 5.
Requires: %{name}-libs = %{version}-%{release}
-Prereq: grep, /sbin/install-info, /bin/sh, sh-utils, /sbin/chkconfig
+Requires(post): /sbin/install-info, chkconfig
+Requires(preun): /sbin/install-info, chkconfig, initscripts
+Requires(postun): initscripts
+# mktemp is used by krb5-send-pr
+Requires: mktemp
%description server
Kerberos is a network authentication system. The krb5-server package
@@ -175,7 +176,8 @@ realm, you need to install this package.
Summary: Kerberos 5 programs for use on workstations.
Group: System Environment/Base
Requires: %{name}-libs = %{version}-%{release}
-Prereq: grep, /sbin/install-info, /bin/sh, sh-utils
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
# mktemp is used by krb5-send-pr
Requires: mktemp
@@ -189,9 +191,6 @@ installed on every workstation.
Summary: Kerberos 5 clients for use on workstations.
Group: System Environment/Base
Requires: %{name}-workstation = %{version}-%{release}
-Prereq: grep, /sbin/install-info, /bin/sh, sh-utils
-# mktemp is used by krb5-send-pr
-Requires: mktemp
%description workstation-clients
Kerberos is a network authentication system. The krb5-workstation-clients
@@ -204,7 +203,8 @@ these services.
Summary: Kerberos 5 servers for use on workstations.
Group: System Environment/Base
Requires: %{name}-workstation = %{version}-%{release}
-Prereq: grep, /sbin/install-info, /bin/sh, sh-utils
+Requires(post): initscripts
+Requires(postun): initscripts
# mktemp is used by krb5-send-pr
Requires: mktemp, xinetd, /etc/pam.d/%{login_pam_service}
@@ -232,6 +232,8 @@ certificate.
-workstation-servers gets upgraded, because it's gone now
- move the libraries to /%{_lib}, but leave --libdir alone so that plugins
get installed and are searched for in the same locations (#473333)
+- clean up buildprereq/prereqs, explicit mktemp requires, and add the
+ ldconfig for the -server-ldap subpackage (part of #225974)
* Tue Mar 17 2009 Nalin Dahyabhai <nalin@redhat.com> 1.6.3-19
- libgssapi_krb5: backport fix for some errors which can occur when
@@ -1599,6 +1601,10 @@ done
%postun libs -p /sbin/ldconfig
+%post server-ldap -p /sbin/ldconfig
+
+%postun server-ldap -p /sbin/ldconfig
+
%post server
# Remove the init script for older servers.
[ -x /etc/rc.d/init.d/krb5server ] && /sbin/chkconfig --del krb5server