From: Graham Leggett Date: Sun, 22 May 2011 22:51:45 +0000 (+0000) Subject: rpm spec file: Prereq and BuildPrereq are deprecated, use Requires and X-Git-Tag: 2.3.13~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f7ab603d165a960c08d9f00049f25f518bddd1;p=thirdparty%2Fapache%2Fhttpd.git rpm spec file: Prereq and BuildPrereq are deprecated, use Requires and BuildRequires instead. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1126268 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/rpm/httpd.spec.in b/build/rpm/httpd.spec.in index 50a620ecdfb..1e3025c0e8d 100644 --- a/build/rpm/httpd.spec.in +++ b/build/rpm/httpd.spec.in @@ -14,11 +14,11 @@ Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 License: Apache License, Version 2.0 Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildPrereq: apr-devel, apr-util-devel, openldap-devel, db4-devel, expat-devel, findutils, perl, pkgconfig, zlib-devel, pcre-devel >= 5.0, distcache-devel >= 1.4 -BuildPrereq: /usr/bin/apr-1-config, /usr/bin/apu-1-config +BuildRequires: apr-devel, apr-util-devel, openldap-devel, db4-devel, expat-devel, findutils, perl, pkgconfig, zlib-devel, pcre-devel >= 5.0, distcache-devel >= 1.4 +BuildRequires: /usr/bin/apr-1-config, /usr/bin/apu-1-config Requires: apr >= 1.4.2, apr-util >= 1.3.10, pcre-devel >= 5.0, gawk, /usr/bin/find, openldap -Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv -Prereq: sh-utils, textutils, /usr/sbin/useradd +Requires: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv +Requires: sh-utils, textutils, /usr/sbin/useradd Provides: webserver Provides: httpd-mmn = %{mmn} Conflicts: thttpd @@ -57,8 +57,8 @@ also be found at http://httpd.apache.org/docs/. %package -n mod_ssl Group: System Environment/Daemons Summary: SSL/TLS module for the Apache HTTP server -BuildPrereq: openssl-devel -Prereq: openssl, dev, /bin/cat +BuildRequires: openssl-devel +Requires: openssl, dev, /bin/cat Requires: httpd, make, httpd-mmn = %{mmn} %description -n mod_ssl