summaryrefslogtreecommitdiff
path: root/packaging/RedHat/samba.spec.tmpl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-29 18:49:55 +0000
committerGerald Carter <jerry@samba.org>2003-08-29 18:49:55 +0000
commit2ce05b7a3f8c0c88639b309e97928fb5b55c9642 (patch)
treec4237825dbb22fd30aadfbe11fb46dbbb2b9691a /packaging/RedHat/samba.spec.tmpl
parent1e5411ca8257ac16195411b7105ebcd6a2bb4fb1 (diff)
downloadsamba-2ce05b7a3f8c0c88639b309e97928fb5b55c9642.tar.gz
samba-2ce05b7a3f8c0c88639b309e97928fb5b55c9642.tar.bz2
samba-2ce05b7a3f8c0c88639b309e97928fb5b55c9642.zip
packaging updates; use rpm -E when possible for spec & src dir; also avoid Net::LDAP dependencies
(This used to be commit 3b31d1aa8ff3baaa48beee86e72e8a6caaf5ac1b)
Diffstat (limited to 'packaging/RedHat/samba.spec.tmpl')
-rw-r--r--packaging/RedHat/samba.spec.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/RedHat/samba.spec.tmpl b/packaging/RedHat/samba.spec.tmpl
index 718fe38bc8..725809b075 100644
--- a/packaging/RedHat/samba.spec.tmpl
+++ b/packaging/RedHat/samba.spec.tmpl
@@ -5,6 +5,10 @@ Release: PRELEASE
License: GNU GPL version 2
Group: Networking
Source: http://download.samba.org/samba/ftp/samba-%{version}.tar.bz2
+
+# Don't depend on Net::LDAP
+Source999: filter-requires-samba.sh
+
Packager: Gerald Carter [Samba-Team] <jerry@samba.org>
Requires: pam >= 0.72 kernel >= 2.2.1 glibc >= 2.1.2
Prereq: chkconfig fileutils /sbin/ldconfig
@@ -13,6 +17,9 @@ Obsoletes: samba-common, samba-client, samba-swat
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
+# Working around perl dependency problem from docs
+%define __perl_requires %{SOURCE999}
+
%description
Samba provides an SMB/CIFS server which can be used to provide
network file and print services to SMB/CIFS clients, including