Blame rust-fragile.spec

94fb430
# Generated by rust2rpm 13
c2f532c
%bcond_with check
949fc23
%global debug_package %{nil}
949fc23
949fc23
%global crate fragile
949fc23
949fc23
Name:           rust-%{crate}
94fb430
Version:        1.0.0
8bc8883
Release:        4%{?dist}
949fc23
Summary:        Wrapper types for sending non-send values to other threads
949fc23
949fc23
# Upstream license specification: Apache-2.0
949fc23
License:        ASL 2.0
949fc23
URL:            https://crates.io/crates/fragile
c2f532c
Source:         %{crates_source}
949fc23
949fc23
ExclusiveArch:  %{rust_arches}
94fb430
%if %{__cargo_skip_build}
94fb430
BuildArch:      noarch
94fb430
%endif
949fc23
949fc23
BuildRequires:  rust-packaging
949fc23
94fb430
%global _description %{expand:
94fb430
Provides wrapper types for sending non-send values to other threads.}
c2f532c
c2f532c
%description %{_description}
949fc23
949fc23
%package        devel
949fc23
Summary:        %{summary}
949fc23
BuildArch:      noarch
949fc23
c2f532c
%description    devel %{_description}
949fc23
949fc23
This package contains library source intended for building other packages
c2f532c
which use "%{crate}" crate.
c2f532c
c2f532c
%files          devel
c2f532c
%license LICENSE
c2f532c
%doc README.md
94fb430
%{cargo_registry}/%{crate}-%{version_no_tilde}/
c2f532c
c2f532c
%package     -n %{name}+default-devel
c2f532c
Summary:        %{summary}
c2f532c
BuildArch:      noarch
c2f532c
c2f532c
%description -n %{name}+default-devel %{_description}
c2f532c
c2f532c
This package contains library source intended for building other packages
c2f532c
which use "default" feature of "%{crate}" crate.
c2f532c
c2f532c
%files       -n %{name}+default-devel
94fb430
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
949fc23
949fc23
%prep
c2f532c
%autosetup -n %{crate}-%{version_no_tilde} -p1
949fc23
%cargo_prep
949fc23
94fb430
%generate_buildrequires
94fb430
%cargo_generate_buildrequires
94fb430
949fc23
%build
949fc23
%cargo_build
949fc23
949fc23
%install
949fc23
%cargo_install
949fc23
949fc23
%if %{with check}
949fc23
%check
949fc23
%cargo_test
949fc23
%endif
949fc23
949fc23
%changelog
8bc8883
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
8bc8883
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8bc8883
8cf38f5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
8cf38f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8cf38f5
0af0779
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
0af0779
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0af0779
94fb430
* Fri Apr 17 2020 Josh Stone <jistone@redhat.com> - 1.0.0-1
94fb430
- Update to 1.0.0
94fb430
01bb9a3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
01bb9a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
01bb9a3
d2dcec3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
d2dcec3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d2dcec3
c2f532c
* Sat Feb 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-3
c2f532c
- Adapt to new packaging
c2f532c
4b3effe
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
4b3effe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4b3effe
949fc23
* Tue Sep 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
949fc23
- Initial package