Blame rust-typeable.spec

39360cb
# Generated by rust2rpm 10
39360cb
%bcond_without check
ec633cd
%global debug_package %{nil}
ec633cd
ec633cd
%global crate typeable
ec633cd
ec633cd
Name:           rust-%{crate}
ec633cd
Version:        0.1.2
a4a70dd
Release:        8%{?dist}
ec633cd
Summary:        Exposes Typeable, for getting TypeIds at runtime
ec633cd
39360cb
# Upstream license specification: MIT
ec633cd
# https://github.com/reem/rust-typeable/issues/10
ec633cd
License:        MIT
ec633cd
URL:            https://crates.io/crates/typeable
7e8d94a
Source:         %{crates_source}
ec633cd
ec633cd
ExclusiveArch:  %{rust_arches}
39360cb
%if %{__cargo_skip_build}
39360cb
BuildArch:      noarch
39360cb
%endif
ec633cd
ec633cd
BuildRequires:  rust-packaging
ec633cd
39360cb
%global _description %{expand:
39360cb
Exposes Typeable, for getting TypeIds at runtime.}
4fa2368
4fa2368
%description %{_description}
ec633cd
ec633cd
%package        devel
ec633cd
Summary:        %{summary}
ec633cd
BuildArch:      noarch
ec633cd
4fa2368
%description    devel %{_description}
ec633cd
ec633cd
This package contains library source intended for building other packages
4fa2368
which use "%{crate}" crate.
4fa2368
4fa2368
%files          devel
4fa2368
%{cargo_registry}/%{crate}-%{version}/
4fa2368
4fa2368
%package     -n %{name}+default-devel
4fa2368
Summary:        %{summary}
4fa2368
BuildArch:      noarch
4fa2368
4fa2368
%description -n %{name}+default-devel %{_description}
4fa2368
4fa2368
This package contains library source intended for building other packages
4fa2368
which use "default" feature of "%{crate}" crate.
4fa2368
4fa2368
%files       -n %{name}+default-devel
4fa2368
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
ec633cd
ec633cd
%prep
7e8d94a
%autosetup -n %{crate}-%{version_no_tilde} -p1
ec633cd
%cargo_prep
ec633cd
39360cb
%generate_buildrequires
39360cb
%cargo_generate_buildrequires
39360cb
ec633cd
%build
ec633cd
%cargo_build
ec633cd
ec633cd
%install
ec633cd
%cargo_install
ec633cd
ec633cd
%if %{with check}
ec633cd
%check
ec633cd
%cargo_test
ec633cd
%endif
ec633cd
ec633cd
%changelog
a4a70dd
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-8
a4a70dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a4a70dd
7019acb
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-7
7019acb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7019acb
28db801
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-6
28db801
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
28db801
39360cb
* Sat Jun 22 16:44:33 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-5
39360cb
- Regenerate
39360cb
7e8d94a
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-4
7e8d94a
- Adapt to new packaging
7e8d94a
a1823dd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-3
a1823dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a1823dd
4fa2368
* Thu Nov 15 2018 Josh Stone <jistone@redhat.com> - 0.1.2-2
4fa2368
- Adapt to new packaging
4fa2368
ec633cd
* Sun Jul 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.2-1
ec633cd
- Initial package