Initial import (#1780783)

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
epel9
Robert-André Mauchin 5 years ago
parent 7fc06f0211
commit 0f71aa682e

1
.gitignore vendored

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

@ -0,0 +1,75 @@
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate noop_proc_macro
Name: rust-%{crate}
Version: 0.2.1
Release: 1%{?dist}
Summary: No-op proc_macro, literally does nothing
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/noop_proc_macro
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
No-op proc_macro, literally does nothing.}
%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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Fri Dec 06 22:58:18 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.2.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (noop_proc_macro-0.2.1.crate) = 3f2cf8eaf66fa8ec3c7704d9d525e38dfb10432a1e5c7be2b3c2b9833ddb72884dc3748adbeb34dabc94e643702fe2c9c69b96436347d7571fceee2529493c51
Loading…
Cancel
Save