rpms/krb5/devel krb5.spec,1.183,1.184
Nalin Dahyabhai
nalin at fedoraproject.org
Mon Apr 6 17:46:00 UTC 2009
Author: nalin
Update of /cvs/extras/rpms/krb5/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24774
Modified Files:
krb5.spec
Log Message:
- clean up buildprereq/prereqs, explicit mktemp requires, and add the
ldconfig for the -server-ldap subpackage (part of #225974)
Index: krb5.spec
===================================================================
RCS file: /cvs/extras/rpms/krb5/devel/krb5.spec,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- krb5.spec 6 Apr 2009 16:46:35 -0000 1.183
+++ krb5.spec 6 Apr 2009 17:45:29 -0000 1.184
@@ -103,9 +103,8 @@
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 @@
%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 @@
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 @@
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 @@
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 @@
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 @@
-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 at redhat.com> 1.6.3-19
- libgssapi_krb5: backport fix for some errors which can occur when
@@ -1599,6 +1601,10 @@
%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
More information about the fedora-extras-commits
mailing list