diff options
author | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-04-14 17:33:01 +0200 |
---|---|---|
committer | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-04-14 17:33:01 +0200 |
commit | 035b3908c8b806b5a80ead9a9f83ec104378bde7 (patch) | |
tree | 7f59b3069498e716200cb0dfe21c5947cb24382a /support-files | |
parent | 286c084cd215445839214bbd81b2d355a4efab62 (diff) | |
download | mariadb-git-035b3908c8b806b5a80ead9a9f83ec104378bde7.tar.gz |
cleanup
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index e43c04e9816..b1fbc90d829 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -44,8 +44,6 @@ %define undefined() %{expand:%%{?%{1}:0}%%{!?%{1}:1}} %endif -%define fileexists() %(set -x; [ -e "%{1}" ] && echo 1 || echo 0) - # ---------------------------------------------------------------------------- # RPM build tools now automatically detect Perl module dependencies. This # detection causes problems as it is broken in some versions, and it also @@ -64,15 +62,10 @@ # Command line handling ############################################################################## # -# To enable the following options: -# -# $ rpmbuild --with <option> # RPM 4.x+ -# $ rpmbuild --define '_with_<option> 1' # RPM 3.x +# To set options: # -# To disable: +# $ rpmbuild --define="option <x>" ... # -# $ rpmbuild --without <option> # RPM 4.x+ -# $ rpmbuild --define '_without_<option> 1' # RPM 3.x # ---------------------------------------------------------------------------- # Commercial builds @@ -175,9 +168,6 @@ %define distro_requires coreutils grep procps /sbin/chkconfig /usr/sbin/useradd /usr/sbin/groupadd %endif -%{echo:Building for %{distro_description} -} - # ---------------------------------------------------------------------------- # Support optional "tcmalloc" library (experimental) # ---------------------------------------------------------------------------- |