1 Star 0 Fork 4

bzg_repo/yum-metadata-parser

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
yum-metadata-parser.spec 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
baizg1107 提交于 2021-05-19 15:01 . Fix building error
%global _empty_manifest_terminate_build 0
%global __python python3
Name: yum-metadata-parser
Version: 1.1.4
Release: 25
Summary: A fast metadata parser for yum
License: GPLv2
URL: http://yum.baseurl.org/
Source0: http://yum.baseurl.org/download/%{name}/%{name}-%{version}.tar.gz
Source1: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Patch0: BZ-612409-handle-2GB-rpms.patch
Patch1: UPSTREAM-py-3-split.patch
Patch2: UPSTREAM-weak-deps.patch
Patch3: UPSTREAM-index-weak-deps.patch
Patch4: UPSTREAM-fix-minor-mem-leak.patch
BuildRequires: python3-devel glib2-devel libxml2-devel sqlite-devel pkgconfig
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
Requires: glib2 >= 2.15
%description
Fast metadata parser for yum implemented in C.
%package help
Summary: Doc files for %{name}
%description help
The %{name}-help package contains doc files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
cp %{SOURCE1} .
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --root=%{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS
%license gpl-2.0.txt
%{python3_sitearch}/*
%files help
%doc README ChangeLog
%changelog
* Wed May 19 2021 baizhonggui <[email protected]> - 1.1.4-25
- Fix replaceing python2-devel to python3-devel error
* Wed Aug 28 2019 luhuaxin <[email protected]> - 1.1.4-24
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/baizg1107/yum-metadata-parser.git
[email protected]:baizg1107/yum-metadata-parser.git
baizg1107
yum-metadata-parser
yum-metadata-parser
master

搜索帮助