代码拉取完成,页面将自动刷新
Name: PyPAM
Version: 0.5.0
Release: 5
Summary: PAM bindings for Python
License: LGPLv2.1
Url: http://www.pangalactic.org/PyPAM
Source0: http://www.pangalactic.org/PyPAM/%{name}-%{version}.tar.gz
Patch0001: PyPAM-dlopen.patch
Patch0002: PyPAM-0.5.0-dealloc.patch
Patch0003: PyPAM-0.5.0-nofree.patch
Patch0004: PyPAM-0.5.0-memory-errors.patch
Patch0005: PyPAM-0.5.0-return-value.patch
Patch0006: PyPAM-python3-support.patch
Patch0007: fix-compilcation-failed.patch
BuildRequires: python3-devel pam-devel gcc
%filter_provides_in %{python3_sitearch}/PAM*.so$
%filter_setup
%global _description\
PAM (Pluggable Authentication Module) bindings for Python.
%description %_description
%package -n python3-PyPAM
Summary: PAM bindings for Python 3
BuildRequires: python3-devel
%description -n python3-PyPAM
PAM (Pluggable Authentication Module) bindings for Python 3.
%package_help
%prep
%autosetup -n PyPAM-%{version} -p1
rm -rf build dist
%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python3} setup.py build
%install
%{__python3} setup.py install --root=$RPM_BUILD_ROOT
chmod 644 examples/pamtest.py
rm -f examples/pamexample
%check
PYTHONPATH=build/lib.linux-`uname -m`-cpython-%{python3_version_nodots}/ %{__python3} tests/PamTest.py
%files -n python3-PyPAM
%defattr(-,root,root,-)
%doc AUTHORS
%license COPYING
%{python3_sitearch}/PAM*.so
%{python3_sitearch}/*.egg-info
%files help
%defattr(-,root,root)
%doc NEWS README ChangeLog INSTALL examples
%changelog
* Wed Aug 14 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 0.5.0-5
- Fix compilation failure
* Wed Jul 5 2023 liyanan <thistleslyn@163.com> - 0.5.0-4
- Fix compilation failure caused by setuptool upgrade
* Thu Apr 21 2022 wangyu<wangyu283@huawei.com> - 0.5.0-3
- Modified the version number and open-source protocol version.
* Fri Feb 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.5.0-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。