Blame rust-target-lexicon.spec

86ff15d
# Generated by rust2rpm 16
e2f73f5
%bcond_without check
e2f73f5
%global debug_package %{nil}
e2f73f5
e2f73f5
%global crate target-lexicon
e2f73f5
e2f73f5
Name:           rust-%{crate}
86ff15d
Version:        0.11.1
86ff15d
Release:        1%{?dist}
e2f73f5
Summary:        Targeting utilities for compilers and related tools
e2f73f5
e2f73f5
# Upstream license specification: Apache-2.0 WITH LLVM-exception
e2f73f5
License:        ASL 2.0 with exceptions
e2f73f5
URL:            https://crates.io/crates/target-lexicon
e2f73f5
Source:         %{crates_source}
e2f73f5
e2f73f5
ExclusiveArch:  %{rust_arches}
e2f73f5
%if %{__cargo_skip_build}
e2f73f5
BuildArch:      noarch
e2f73f5
%endif
e2f73f5
e2f73f5
BuildRequires:  rust-packaging
e2f73f5
e2f73f5
%global _description %{expand:
e2f73f5
Targeting utilities for compilers and related tools.}
e2f73f5
e2f73f5
%description %{_description}
e2f73f5
e2f73f5
%package        devel
e2f73f5
Summary:        %{summary}
e2f73f5
BuildArch:      noarch
e2f73f5
e2f73f5
%description    devel %{_description}
e2f73f5
e2f73f5
This package contains library source intended for building other packages
e2f73f5
which use "%{crate}" crate.
e2f73f5
e2f73f5
%files          devel
e2f73f5
%doc README.md
e2f73f5
%license LICENSE
e2f73f5
%{cargo_registry}/%{crate}-%{version_no_tilde}/
e2f73f5
e2f73f5
%package     -n %{name}+default-devel
e2f73f5
Summary:        %{summary}
e2f73f5
BuildArch:      noarch
e2f73f5
e2f73f5
%description -n %{name}+default-devel %{_description}
e2f73f5
e2f73f5
This package contains library source intended for building other packages
e2f73f5
which use "default" feature of "%{crate}" crate.
e2f73f5
e2f73f5
%files       -n %{name}+default-devel
e2f73f5
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
e2f73f5
e2f73f5
%package     -n %{name}+std-devel
e2f73f5
Summary:        %{summary}
e2f73f5
BuildArch:      noarch
e2f73f5
e2f73f5
%description -n %{name}+std-devel %{_description}
e2f73f5
e2f73f5
This package contains library source intended for building other packages
e2f73f5
which use "std" feature of "%{crate}" crate.
e2f73f5
e2f73f5
%files       -n %{name}+std-devel
e2f73f5
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
e2f73f5
e2f73f5
%prep
e2f73f5
%autosetup -n %{crate}-%{version_no_tilde} -p1
e2f73f5
%cargo_prep
e2f73f5
e2f73f5
%generate_buildrequires
e2f73f5
%cargo_generate_buildrequires
e2f73f5
e2f73f5
%build
e2f73f5
%cargo_build
e2f73f5
e2f73f5
%install
e2f73f5
%cargo_install
e2f73f5
e2f73f5
%if %{with check}
e2f73f5
%check
e2f73f5
%cargo_test
e2f73f5
%endif
e2f73f5
e2f73f5
%changelog
86ff15d
* Fri Nov 20 2020 Fabio Valentini <decathorpe@gmail.com> - 0.11.1-1
86ff15d
- Update to version 0.11.1.
86ff15d
- Fixes RHBZ#1889444
86ff15d
059d047
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
059d047
- Second attempt - Rebuilt for
059d047
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
059d047
5f3bbe3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
5f3bbe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5f3bbe3
eb6e545
* Thu Jun 11 2020 Josh Stone <jistone@redhat.com> - 0.11.0-1
eb6e545
- Update to 0.11.0
eb6e545
e2f73f5
* Wed Feb 19 2020 Josh Stone <jistone@redhat.com> - 0.10.0-1
e2f73f5
- Initial package