initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 21b54e38ca
commit 2103b5de9a

1
.gitignore vendored

@ -0,0 +1 @@
/heapsize-0.4.1.crate

@ -0,0 +1,12 @@
--- heapsize-0.4.1/Cargo.toml 2017-07-15T16:05:14+02:00
+++ heapsize-0.4.1/Cargo.toml 2017-11-06T08:47:21.426680+01:00
@@ -7,9 +7,6 @@
repository = "https://github.com/servo/heapsize"
build = "build.rs"
-[target.'cfg(windows)'.dependencies]
-kernel32-sys = "0.2.1"
-
[features]
unstable = []

@ -0,0 +1,68 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate heapsize
Name: rust-%{crate}
Version: 0.4.1
Release: 1%{?dist}
Summary: Infrastructure for measuring the total runtime size of an object on the heap
License: MIT or ASL 2.0
URL: https://crates.io/crates/heapsize
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * No Windows
Patch0: heapsize-0.4.1-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Infrastructure for measuring the total runtime size of an object on the heap.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test --features flexible-tests
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
- Update to 0.4.1
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
- Update to 0.4.0
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-2
- Port to use rust-packaging
* Thu Mar 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-1
- Initial package

@ -0,0 +1 @@
SHA512 (heapsize-0.4.1.crate) = 6afcc268cf1e1ad7a326e95ff50e0f94d65266f7047304bc181329d9f057956e729926966dd87e520d571705106d8cbb57767cbc4348753a6a198b1bda8e05e4
Loading…
Cancel
Save