Initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 8eff4aabc9
commit 6341c2efcd
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/doc-comment-0.3.1.crate

@ -0,0 +1,92 @@
# Generated by rust2rpm
%bcond_with check
%global debug_package %{nil}
%global crate doc-comment
Name: rust-%{crate}
Version: 0.3.1
Release: 1%{?dist}
Summary: Macro to generate doc comments
License: MIT
URL: https://crates.io/crates/doc-comment
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description \
Macro to generate doc comments.
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+no_core-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+no_core-devel %{_description}
This package contains library source intended for building other packages
which use "no_core" feature of "%{crate}" crate.
%files -n %{name}+no_core-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+old_macros-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+old_macros-devel %{_description}
This package contains library source intended for building other packages
which use "old_macros" feature of "%{crate}" crate.
%files -n %{name}+old_macros-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Thu May 02 08:42:17 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (doc-comment-0.3.1.crate) = f4922f77fdd37a0b11f62d83a78c2c2cd1791e198aa738b54b30b1fbe29e012e320c3e3579e11eef6048a0ccf902f979573c70dfb8b06ea48467c94b7fcaa6c5

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-doc-comment
Loading…
Cancel
Save