Blame rust-bitmaps.spec

cf568f2
# Generated by rust2rpm 13
cf568f2
%bcond_without check
cf568f2
%global debug_package %{nil}
cf568f2
cf568f2
%global crate bitmaps
cf568f2
cf568f2
Name:           rust-%{crate}
74762b9
Version:        2.1.0
faeffec
Release:        3%{?dist}
cf568f2
Summary:        Fixed size boolean arrays
cf568f2
cf568f2
# Upstream license specification: MPL-2.0+
cf568f2
License:        MPLv2.0
cf568f2
URL:            https://crates.io/crates/bitmaps
cf568f2
Source:         %{crates_source}
faeffec
# Initial patched metadata
faeffec
Patch0:         bitmaps-fix-metadata.diff
cf568f2
cf568f2
ExclusiveArch:  %{rust_arches}
cf568f2
%if %{__cargo_skip_build}
cf568f2
BuildArch:      noarch
cf568f2
%endif
cf568f2
cf568f2
BuildRequires:  rust-packaging
cf568f2
cf568f2
%global _description %{expand:
cf568f2
Fixed size boolean arrays.}
cf568f2
cf568f2
%description %{_description}
cf568f2
cf568f2
%package        devel
cf568f2
Summary:        %{summary}
cf568f2
BuildArch:      noarch
cf568f2
cf568f2
%description    devel %{_description}
cf568f2
cf568f2
This package contains library source intended for building other packages
cf568f2
which use "%{crate}" crate.
cf568f2
cf568f2
%files          devel
cf568f2
%license LICENCE.md
cf568f2
%doc README.md CHANGELOG.md
cf568f2
%{cargo_registry}/%{crate}-%{version_no_tilde}/
cf568f2
cf568f2
%package     -n %{name}+default-devel
cf568f2
Summary:        %{summary}
cf568f2
BuildArch:      noarch
cf568f2
cf568f2
%description -n %{name}+default-devel %{_description}
cf568f2
cf568f2
This package contains library source intended for building other packages
cf568f2
which use "default" feature of "%{crate}" crate.
cf568f2
cf568f2
%files       -n %{name}+default-devel
cf568f2
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
cf568f2
74762b9
%package     -n %{name}+std-devel
74762b9
Summary:        %{summary}
74762b9
BuildArch:      noarch
74762b9
74762b9
%description -n %{name}+std-devel %{_description}
74762b9
74762b9
This package contains library source intended for building other packages
74762b9
which use "std" feature of "%{crate}" crate.
74762b9
74762b9
%files       -n %{name}+std-devel
74762b9
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
74762b9
cf568f2
%prep
cf568f2
%autosetup -n %{crate}-%{version_no_tilde} -p1
cf568f2
%cargo_prep
cf568f2
cf568f2
%generate_buildrequires
cf568f2
%cargo_generate_buildrequires
cf568f2
cf568f2
%build
cf568f2
%cargo_build
cf568f2
cf568f2
%install
cf568f2
%cargo_install
cf568f2
cf568f2
%if %{with check}
cf568f2
%check
cf568f2
%cargo_test
cf568f2
%endif
cf568f2
cf568f2
%changelog
faeffec
* Fri Sep 25 2020 Fabio Valentini <decathorpe@gmail.com> - 2.1.0-3
faeffec
- Bump proptest to 0.10 and proptest-derive to 0.2.
faeffec
072f7cd
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
072f7cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
072f7cd
74762b9
* Wed Apr 01 2020 Josh Stone <jistone@redhat.com> - 2.1.0-1
74762b9
- Update to 2.1.0
74762b9
cf568f2
* Sat Feb 15 12:48:54 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.0.0-1
cf568f2
- Initial package