代码拉取完成,页面将自动刷新
同步操作将从 wynn-OpenCloudOS/cargo-c 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_without check
%global rustflags_debuginfo 1
Summary: Helper program to build and install c-like libraries
Name: cargo-c
Version: 0.9.18
Release: 6%{?dist}
License: MIT
URL: https://crates.io/crates/cargo-c
Source0: https://github.com/lu-zero/cargo-c/archive/refs/tags/v%{version}.tar.gz #/%{name}-%{version}.tar.gz
# cd source directory; cargo vendor; tar
Source1: vendor.tar.gz
BuildRequires: cargo rust-toolset
BuildRequires: pkgconfig(openssl)
%description
cargo applet to build and install C-ABI compatible dynamic and static libraries.
It produces and installs a correct pkg-config file, a static library and
a dynamic library, and a C header to be used by any C (and C-compatible) software.
%prep
%autosetup -p1
%cargo_prep -V 1
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/cargo-capi
%{_bindir}/cargo-cbuild
%{_bindir}/cargo-cinstall
%{_bindir}/cargo-ctest
%changelog
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 0.9.18-6
- Rebuild
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 0.9.18-5
- Rebuilt for OpenCloudOS Stream 23.09
* Tue Jul 18 2023 Wang Guodong <[email protected]> - 0.9.18-4
- Rebuilt for rust 1.69.0
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 0.9.18-3
- Rebuilt for OpenCloudOS Stream 23.05
* Thu Apr 27 2023 rockerzhu <[email protected]> - 0.9.18-2
- Enable check.
* Sun Apr 23 2023 rockerzhu <[email protected]> - 0.9.18-1
- Initial build.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。