Blame rust-rust_hawktracer_normal_macro.spec

8c324ed
# Generated by rust2rpm 13
8c324ed
%bcond_without check
8c324ed
%global debug_package %{nil}
8c324ed
8c324ed
%global crate rust_hawktracer_normal_macro
8c324ed
8c324ed
Name:           rust-%{crate}
3885cdf
Version:        0.4.1
91b7cf7
Release:        2%{?dist}
8c324ed
Summary:        Helper crate for hawktracer profiling library
8c324ed
8c324ed
# Upstream license specification: MIT/Apache-2.0
8c324ed
License:        MIT or ASL 2.0
8c324ed
URL:            https://crates.io/crates/rust_hawktracer_normal_macro
8c324ed
Source:         %{crates_source}
8c324ed
8c324ed
ExclusiveArch:  %{rust_arches}
8c324ed
%if %{__cargo_skip_build}
8c324ed
BuildArch:      noarch
8c324ed
%endif
8c324ed
8c324ed
BuildRequires:  rust-packaging
8c324ed
8c324ed
%global _description %{expand:
8c324ed
Helper crate for hawktracer profiling library.}
8c324ed
8c324ed
%description %{_description}
8c324ed
8c324ed
%package        devel
8c324ed
Summary:        %{summary}
8c324ed
BuildArch:      noarch
8c324ed
8c324ed
%description    devel %{_description}
8c324ed
8c324ed
This package contains library source intended for building other packages
8c324ed
which use "%{crate}" crate.
8c324ed
8c324ed
%files          devel
8c324ed
%license LICENSE LICENSE-APACHE
8c324ed
%doc README.md
8c324ed
%{cargo_registry}/%{crate}-%{version_no_tilde}/
8c324ed
8c324ed
%package     -n %{name}+default-devel
8c324ed
Summary:        %{summary}
8c324ed
BuildArch:      noarch
8c324ed
8c324ed
%description -n %{name}+default-devel %{_description}
8c324ed
8c324ed
This package contains library source intended for building other packages
8c324ed
which use "default" feature of "%{crate}" crate.
8c324ed
8c324ed
%files       -n %{name}+default-devel
8c324ed
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8c324ed
8c324ed
%package     -n %{name}+generate_bindings-devel
8c324ed
Summary:        %{summary}
8c324ed
BuildArch:      noarch
8c324ed
8c324ed
%description -n %{name}+generate_bindings-devel %{_description}
8c324ed
8c324ed
This package contains library source intended for building other packages
8c324ed
which use "generate_bindings" feature of "%{crate}" crate.
8c324ed
8c324ed
%files       -n %{name}+generate_bindings-devel
8c324ed
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8c324ed
3885cdf
%package     -n %{name}+pkg_config-devel
3885cdf
Summary:        %{summary}
3885cdf
BuildArch:      noarch
3885cdf
3885cdf
%description -n %{name}+pkg_config-devel %{_description}
3885cdf
3885cdf
This package contains library source intended for building other packages
3885cdf
which use "pkg_config" feature of "%{crate}" crate.
3885cdf
3885cdf
%files       -n %{name}+pkg_config-devel
3885cdf
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
3885cdf
8c324ed
%package     -n %{name}+profiling_enabled-devel
8c324ed
Summary:        %{summary}
8c324ed
BuildArch:      noarch
8c324ed
8c324ed
%description -n %{name}+profiling_enabled-devel %{_description}
8c324ed
8c324ed
This package contains library source intended for building other packages
8c324ed
which use "profiling_enabled" feature of "%{crate}" crate.
8c324ed
8c324ed
%files       -n %{name}+profiling_enabled-devel
8c324ed
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8c324ed
8c324ed
%package     -n %{name}+rust_hawktracer_sys-devel
8c324ed
Summary:        %{summary}
8c324ed
BuildArch:      noarch
8c324ed
8c324ed
%description -n %{name}+rust_hawktracer_sys-devel %{_description}
8c324ed
8c324ed
This package contains library source intended for building other packages
8c324ed
which use "rust_hawktracer_sys" feature of "%{crate}" crate.
8c324ed
8c324ed
%files       -n %{name}+rust_hawktracer_sys-devel
8c324ed
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
8c324ed
8c324ed
%prep
8c324ed
%autosetup -n %{crate}-%{version_no_tilde} -p1
8c324ed
%cargo_prep
8c324ed
sed -i "s|\r||g" README.md
8c324ed
8c324ed
%generate_buildrequires
8c324ed
%cargo_generate_buildrequires
8c324ed
8c324ed
%build
8c324ed
%cargo_build
8c324ed
8c324ed
%install
8c324ed
%cargo_install
8c324ed
8c324ed
%if %{with check}
8c324ed
%check
8c324ed
%cargo_test
8c324ed
%endif
8c324ed
8c324ed
%changelog
91b7cf7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
91b7cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
91b7cf7
3885cdf
* Wed Feb 12 2020 Josh Stone <jistone@redhat.com> - 0.4.1-1
3885cdf
- Update to 0.4.1
3885cdf
756b742
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
756b742
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
756b742
8c324ed
* Sat Dec 21 01:42:25 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
8c324ed
- Initial package