Blame rust-heapsize.spec

2103b5d
# Generated by rust2rpm
a113971
# * Tests are run in infrastructure
a113971
%bcond_with check
2103b5d
%global debug_package %{nil}
2103b5d
2103b5d
%global crate heapsize
2103b5d
2103b5d
Name:           rust-%{crate}
e9a20ad
Version:        0.4.2
c89ab6b
Release:        9%{?dist}
2103b5d
Summary:        Infrastructure for measuring the total runtime size of an object on the heap
2103b5d
5d1d4b2
# Upstream license specification: MIT/Apache-2.0
2103b5d
License:        MIT or ASL 2.0
2103b5d
URL:            https://crates.io/crates/heapsize
2103b5d
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
2103b5d
# Initial patched metadata
2103b5d
# * No Windows
5d1d4b2
# * Exclude CI files, https://github.com/servo/heapsize/pull/101
5d1d4b2
Patch0:         heapsize-fix-metadata.diff
2103b5d
2103b5d
ExclusiveArch:  %{rust_arches}
2103b5d
2103b5d
BuildRequires:  rust-packaging
2103b5d
5d1d4b2
%global _description \
5d1d4b2
Infrastructure for measuring the total runtime size of an object on the heap.
5d1d4b2
5d1d4b2
%description %{_description}
2103b5d
2103b5d
%package        devel
2103b5d
Summary:        %{summary}
2103b5d
BuildArch:      noarch
2103b5d
5d1d4b2
%description    devel %{_description}
5d1d4b2
5d1d4b2
This package contains library source intended for building other packages
5d1d4b2
which use "%{crate}" crate.
5d1d4b2
5d1d4b2
%files          devel
5d1d4b2
%license LICENSE-MIT LICENSE-APACHE
5d1d4b2
%doc README.md
5d1d4b2
%{cargo_registry}/%{crate}-%{version}/
5d1d4b2
5d1d4b2
%package     -n %{name}+default-devel
5d1d4b2
Summary:        %{summary}
5d1d4b2
BuildArch:      noarch
5d1d4b2
5d1d4b2
%description -n %{name}+default-devel %{_description}
2103b5d
2103b5d
This package contains library source intended for building other packages
5d1d4b2
which use "default" feature of "%{crate}" crate.
5d1d4b2
5d1d4b2
%files       -n %{name}+default-devel
5d1d4b2
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
5d1d4b2
5d1d4b2
%package     -n %{name}+unstable-devel
5d1d4b2
Summary:        %{summary}
5d1d4b2
BuildArch:      noarch
5d1d4b2
5d1d4b2
%description -n %{name}+unstable-devel %{_description}
5d1d4b2
5d1d4b2
This package contains library source intended for building other packages
5d1d4b2
which use "unstable" feature of "%{crate}" crate.
5d1d4b2
5d1d4b2
%files       -n %{name}+unstable-devel
5d1d4b2
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
2103b5d
2103b5d
%prep
2103b5d
%autosetup -n %{crate}-%{version} -p1
2103b5d
%cargo_prep
2103b5d
2103b5d
%build
2103b5d
%cargo_build
2103b5d
2103b5d
%install
2103b5d
%cargo_install
2103b5d
2103b5d
%if %{with check}
2103b5d
%check
3ea82a0
%cargo_test -f flexible-tests
2103b5d
%endif
2103b5d
2103b5d
%changelog
c89ab6b
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-9
c89ab6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c89ab6b
6199114
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-8
6199114
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6199114
72211c1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-7
72211c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
72211c1
5d1d4b2
* Sat Oct 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-6
5d1d4b2
- Adapt to new packaging
5d1d4b2
a113971
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-5
a113971
- Run tests in infrastructure
a113971
b156f00
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-4
b156f00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b156f00
3ea82a0
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-3
3ea82a0
- Adopt to new macro
3ea82a0
8a56bdc
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
8a56bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8a56bdc
e9a20ad
* Mon Jan 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-1
e9a20ad
- Update to 0.4.2
e9a20ad
a4944c0
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-2
a4944c0
- Rebuild for rust-packaging v5
a4944c0
2103b5d
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
2103b5d
- Update to 0.4.1
2103b5d
2103b5d
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
2103b5d
- Update to 0.4.0
2103b5d
2103b5d
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-2
2103b5d
- Port to use rust-packaging
2103b5d
2103b5d
* Thu Mar 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-1
2103b5d
- Initial package