|
|
|
# Generated by rust2rpm 16
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
%global crate cargo-c
|
|
|
|
%global upstream_version 0.6.18+cargo-0.49
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.6.18
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Helper program to build and install c-like libraries
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/cargo-c
|
|
|
|
Source: %{crates_source %{crate} %{upstream_version}}
|
|
|
|
# Initial patched metadata
|
|
|
|
# * drop +cargo-0.49 suffix from version
|
|
|
|
# * remove vendored OpenSSL feature
|
|
|
|
Patch0: cargo-c-fix-metadata.diff
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Helper program to build and install c-like libraries.}
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
|
|
|
# ASL 2.0
|
|
|
|
# ASL 2.0 or Boost
|
|
|
|
# MIT
|
|
|
|
# MIT or ASL 2.0
|
|
|
|
# MIT or ASL 2.0 or zlib
|
|
|
|
# MPLv2.0
|
|
|
|
License: MIT and ASL 2.0 and MPLv2.0
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/cargo-cbuild
|
|
|
|
%{_bindir}/cargo-cinstall
|
|
|
|
%{_bindir}/cargo-ctest
|
|
|
|
%{_bindir}/cargo-capi
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{upstream_version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.18-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Dec 29 14:21:55 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.6.18-2
|
|
|
|
- Rebuild against libgit2 1.1.x
|
|
|
|
|
|
|
|
* Sun Nov 29 2020 Fabio Valentini <decathorpe@gmail.com> - 0.6.18-1
|
|
|
|
- Update to version 0.6.18+cargo-0.49.
|
|
|
|
- Fixes RHBZ#1887871
|
|
|
|
|
|
|
|
* Mon Sep 21 2020 Fabio Valentini <decathorpe@gmail.com> - 0.6.13-1
|
|
|
|
- Update to version 0.6.13.
|
|
|
|
|
|
|
|
* Sun Aug 23 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.6.10-2
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Josh Stone <jistone@redhat.com> - 0.6.10-1
|
|
|
|
- Update to 0.6.10
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Josh Stone <jistone@redhat.com> - 0.6.8-1
|
|
|
|
- Update to 0.6.8
|
|
|
|
|
|
|
|
* Wed Jun 10 2020 Josh Stone <jistone@redhat.com> - 0.6.7-1
|
|
|
|
- Update to 0.6.7
|
|
|
|
|
|
|
|
* Tue May 05 2020 Josh Stone <jistone@redhat.com> - 0.6.5-1
|
|
|
|
- Update to 0.6.5
|
|
|
|
|
|
|
|
* Fri Apr 24 2020 Josh Stone <jistone@redhat.com> - 0.6.4-1
|
|
|
|
- Update to 0.6.4
|
|
|
|
|
|
|
|
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 0.6.3-2
|
|
|
|
- Bump to cargo 0.44
|
|
|
|
|
|
|
|
* Fri Apr 17 2020 Josh Stone <jistone@redhat.com> - 0.6.3-1
|
|
|
|
- Update to 0.6.3
|
|
|
|
|
|
|
|
* Wed Apr 15 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.6.2-2
|
|
|
|
- Rebuild for libgit2 1.0.0
|
|
|
|
|
|
|
|
* Wed Apr 01 2020 Josh Stone <jistone@redhat.com> - 0.6.2-1
|
|
|
|
- Update to 0.6.2
|
|
|
|
|
|
|
|
* Tue Mar 17 2020 Josh Stone <jistone@redhat.com> - 0.5.3-1
|
|
|
|
- Update to 0.5.3
|
|
|
|
|
|
|
|
* Wed Feb 26 2020 Josh Stone <jistone@redhat.com> - 0.5.2-4
|
|
|
|
- Update cbindgen to 0.13
|
|
|
|
|
|
|
|
* Tue Feb 11 13:41:07 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.2-3
|
|
|
|
- Update pretty_env_logger to 0.4
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 23 2020 Josh Stone <jistone@redhat.com> - 0.5.2-1
|
|
|
|
- Update to 0.5.2
|
|
|
|
|
|
|
|
* Thu Dec 19 19:13:31 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-1
|
|
|
|
- Initial package
|