代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/rust-packaging 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%{?python_enable_dependency_generator}
# https://pagure.io/koji/issue/659
%global debug_package %{nil}
Name: rust-packaging
Version: 26.1.1
Release: 1
Summary: RPM macros for building Rust packages on various architectures
License: MIT
URL: https://pagure.io/fedora-rust/rust2rpm
Source: https://pagure.io/fedora-rust/rust2rpm/archive/v%{version}/rust2rpm-v%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-pbr python3-pip python3-wheel
BuildRequires: python3-hatchling python3-virtualenv
# use for check
BuildRequires: python3-pytest cargo python3-semantic_version
BuildRequires: python3-tox-current-env
BuildRequires: python3-termcolor python3-jinja2
BuildRequires: python3-pyparsing python3-tqdm python3-requests
# gawk is needed for stripping dev-deps in macro
Requires: gawk python3-rust2rpm = %{version}-%{release}
Requires: rust-srpm-macros rust cargo
%description
The package provides macros for building projects in Rust
on various architectures.
%package -n python3-rust2rpm
Summary: Convert Rust packages to RPM
Requires: cargo
Provides: rust2rpm = %{version}-%{release}
%{?python_provide:%python_provide python3-rust2rpm}
%description -n python3-rust2rpm
Convert Rust packages to RPM.
%prep
%autosetup -n rust2rpm-v%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%files
%defattr(-,root,root)
%license LICENSE
%files -n python3-rust2rpm
%defattr(-,root,root)
%license LICENSE
%{_bindir}/rust2rpm
%{python3_sitelib}/rust2rpm/
%{python3_sitelib}/rust2rpm-*.dist-info/
%changelog
* Wed Jul 24 2024 Suyun114 <suyun@aosc.io> - 26.1.1-1
- update to 26.1.1
* Tue Jul 18 2023 Dongxing Wang <dxwangk@isoftstone.com> - 23-1
- update to 23
* Sat Aug 06 2022 tianlijing <tianlijing@kylinos.cn> - 21-1
- update to 21
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 20-1
- Upgrade to version 20
* Thu Mar 18 2021 shixuantong <shixuantong@huawei.com> - 15-2
- fix install fail issue because nothing provides rust-srpm-macros = 15
* Tue Feb 02 2021 shixuantong <shixuantong@huawei.com> - 15-1
- Upgrade to version 15
* Wed Mar 4 2020 hexiujun <hexiujun1@huawei.com> - 10-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。