add Requires for versioned perl (libperl.so)
This commit is contained in:
parent
b982a0ee91
commit
418cb6503b
19
nginx.spec
19
nginx.spec
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: nginx
|
Name: nginx
|
||||||
Version: 0.5.35
|
Version: 0.5.35
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Robust, small and high performance http and reverse proxy server
|
Summary: Robust, small and high performance http and reverse proxy server
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
|
||||||
@ -18,12 +18,15 @@ License: BSD
|
|||||||
URL: http://nginx.net/
|
URL: http://nginx.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: pcre-devel,zlib-devel,openssl-devel,perl-devel
|
BuildRequires: pcre-devel,zlib-devel,openssl-devel,perl-devel,perl(ExtUtils::Embed)
|
||||||
Requires: pcre,zlib,openssl
|
Requires: pcre,zlib,openssl
|
||||||
Requires(pre): %{_sbindir}/useradd
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Requires(post): /sbin/chkconfig
|
# for /usr/sbin/useradd
|
||||||
Requires(preun): /sbin/chkconfig, /sbin/service
|
Requires(pre): shadow-utils
|
||||||
Requires(postun): /sbin/service
|
Requires(post): chkconfig
|
||||||
|
# for /sbin/service
|
||||||
|
Requires(preun): chkconfig, initscripts
|
||||||
|
Requires(postun): initscripts
|
||||||
|
|
||||||
Source0: http://sysoev.ru/nginx/nginx-%{version}.tar.gz
|
Source0: http://sysoev.ru/nginx/nginx-%{version}.tar.gz
|
||||||
Source1: %{name}.init
|
Source1: %{name}.init
|
||||||
@ -157,6 +160,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.5.35-3
|
||||||
|
- add Requires for versioned perl (libperl.so)
|
||||||
|
- drop silly file Requires
|
||||||
|
|
||||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.35-2
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user