!2 修复因缺少依赖导致编译失败问题

From: @wu-leilei
Reviewed-by: @hht8,@zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-06-15 04:32:55 +00:00 committed by Gitee
commit 828bca32c9

View File

@ -1,12 +1,12 @@
%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo 0-0)}}
Name: mod_authnz_pam
Version: 1.2.0
Release: 2
Release: 3
Summary: PAM Basic Authentication provider and check.
License: ASL 2.0
URL: http://www.adelton.com/apache/mod_authnz_pam/
Source0: http://www.adelton.com/apache/mod_authnz_pam/mod_authnz_pam-%{version}.tar.gz
BuildRequires: gcc httpd-devel pam-devel pkgconfig
BuildRequires: gcc httpd-devel pam-devel pkgconfig git
Requires: httpd-mmn = %{_httpd_mmn} pam
%description
@ -35,5 +35,8 @@ install -Dp -m 0644 authnz_pam.confx $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
%{_libdir}/httpd/modules/*.so
%changelog
* Wed Jun 09 2021 wulei <wulei80@huawei.com> - 1.2.0-3
- fixes failed: git: No such file or directory
* Wed Apr 22 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.2.0-2
- Package init