initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 739db4cdb8
commit 61d32267e1

1
.gitignore vendored

@ -0,0 +1 @@
/memoffset-0.2.1.crate

@ -0,0 +1,55 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate memoffset
Name: rust-%{crate}
Version: 0.2.1
Release: 1%{?dist}
Summary: C-like offset_of functionality for Rust structs.
License: MIT
URL: https://crates.io/crates/memoffset
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
%{summary}.
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
%endif
%files devel
%license
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Thu Feb 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (memoffset-0.2.1.crate) = 4901eca49eb20acc53d1120548925d691d5e0a0ee899f5c26f55f8b997549cea3b819b1f9b4f5495f4bc73fbcaa386cda50cefdc0036c097c4eeca8086568530
Loading…
Cancel
Save