]> git.pld-linux.org Git - packages/389-ds-base.git/commitdiff
- deps for rc-scripts, adapter, virtual db-devel
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 Feb 2010 08:26:12 +0000 (08:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    389-ds-base.spec -> 1.6

389-ds-base.spec

index 7758ad5a3de65a7c1384de160d54f4f7931fc1b9..1a5b3841be500f5da2078038197fd7e343b56009 100644 (file)
@@ -2,7 +2,7 @@
 # - selinux_variants macro missing. something from fedora?
 #
 # Conditional build:
-%bcond_with    selinux         # build with selinu
+%bcond_with    selinux         # build with selinux
 
 %define                subver  .a1
 %define                rel             0.1
@@ -17,7 +17,7 @@ URL:          http://directory.fedoraproject.org/
 Source0:       http://directory.fedoraproject.org/sources/%{name}-%{version}%{subver}.tar.bz2
 # Source0-md5: aa9299aa66b09f89ed80dd0cfeebde55
 BuildRequires: cyrus-sasl-devel
-BuildRequires: db4.5-devel
+BuildRequires: db-devel
 BuildRequires: icu
 BuildRequires: libicu-devel
 BuildRequires: libnl-devel
@@ -25,10 +25,8 @@ BuildRequires:       mozldap-devel
 BuildRequires: nspr-devel
 BuildRequires: nss-devel
 BuildRequires: pcre-devel
+BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: svrcore-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# The following are needed to build the snmp ldap-agent
-BuildRequires: net-snmp-devel
 %ifnarch sparc sparc64 ppc ppc64 s390 s390x
 BuildRequires: lm_sensors-devel
 %endif
@@ -36,6 +34,8 @@ BuildRequires:        bzip2-devel
 BuildRequires: openssl-devel
 BuildRequires: tcp_wrappers
 BuildRequires: zlib-devel
+# The following are needed to build the snmp ldap-agent
+BuildRequires: net-snmp-devel
 # The following are needed to build the SELinux policy
 %if %{with selinux}
 BuildRequires: checkpolicy
@@ -54,18 +54,17 @@ Requires:   nss-tools
 Requires:      cyrus-sasl-digest-md5
 Requires:      cyrus-sasl-gssapi
 # this is needed for verify-db.pl
+Requires(post,preun):  /sbin/chkconfig
 Requires:      db-utils
-# for the init script
-Requires(post):        /sbin/chkconfig
-Requires(preun):       /sbin/chkconfig
-Requires(preun):       /sbin/service
+Requires:      rc-scripts
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 389 Directory Server is an LDAPv3 compliant server. The base package
 includes the LDAP server and command line utilities for server
 administration.
 
-%package          devel
+%package devel
 Summary:       Development libraries for 389 Directory Server
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
@@ -169,7 +168,7 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/chkconfig --add dirsrv
 /sbin/chkconfig --add dirsrv-snmp
 if [ ! -e %{_localstatedir}/run/dirsrv ]; then
-       mkdir %{_localstatedir}/run/dirsrv
+       install -d %{_localstatedir}/run/dirsrv
 fi
 
 %preun
This page took 0.097779 seconds and 4 git commands to generate.