* remove ldap dependent when build rpm and deb.

This commit is contained in:
王怡栋
2022-03-16 14:05:58 +08:00
parent e187adafd8
commit 5dcb56bf35
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ Version: 6.1
Section: utils
Priority: optional
Architecture: all
Depends: apache2, libapache2-mod-php | libapache2-mod-phpfilter | php-cgi | php-fpm | php, php-cli, php-common, php-mysql, php-json, php-ldap, mysql-server
Depends: apache2, libapache2-mod-php | libapache2-mod-phpfilter | php-cgi | php-fpm | php, php-cli, php-common, php-mysql, php-json, mysql-server
Recommends: php-gd
Installed-Size: 512
Maintainer: [url=www.zentao.net]
+3 -3
View File
@@ -1,7 +1,7 @@
Name:zentaopms
Version:7.1.stable
Release:1
Summary:This is ZenTao PMS software.
Summary:This is ZenTao PMS software.
Group:utils
License:ZPL
@@ -9,7 +9,7 @@ URL:http://www.zentao.net
Source0:%{name}-%{version}.tar.gz
BuildRoot:%{_tmppath}/%{name}-%{version}-root
BuildArch:noarch
Requires:httpd, php-cli, php, php-common, php-pdo, php-json, php-ldap, mysql
Requires:httpd, php-cli, php, php-common, php-pdo, php-json, mysql
Requires:/usr/lib64/php/modules/pdo_mysql.so
%description
@@ -26,7 +26,7 @@ chmod 777 %{_builddir}/%{name}-%{version}/opt/zentao/module
chmod 777 %{_builddir}/%{name}-%{version}/opt/zentao/www
chmod a+rx %{_builddir}/%{name}-%{version}/opt/zentao/bin/*
find %{_builddir}/%{name}-%{version}/opt/zentao/ -name ext |xargs chmod -R 777
cp -a %{_builddir}/%{name}-%{version}/* $RPM_BUILD_ROOT
cp -a %{_builddir}/%{name}-%{version}/* $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT