initial import (#1948138)

epel9
Fabio Valentini 4 years ago
parent aa7b6e5fb4
commit 7dcaa0f481
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/result_*/
/*.src.rpm
/hashlink-0.6.0.crate

@ -1,3 +0,0 @@
# rust-hashlink
The rust-hashlink package

@ -0,0 +1,100 @@
# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
%global crate hashlink
Name: rust-%{crate}
Version: 0.6.0
Release: 1%{?dist}
Summary: HashMap-like containers with user-specified order
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/hashlink
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
HashMap-like containers that hold their key-value pairs in a user controllable
order.}
%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-MIT LICENSE-APACHE
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde_impl-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_impl-devel %{_description}
This package contains library source intended for building other packages
which use "serde_impl" feature of "%{crate}" crate.
%files -n %{name}+serde_impl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Thu Apr 08 2021 Fabio Valentini <decathorpe@gmail.com> - 0.6.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (hashlink-0.6.0.crate) = bd019fb982f8521b818d2862b739b489539d7e15d6ffbddc0c6a11a9611c9e0eaada767f3d9c9b8a966dc0c408b8cb475298fc97c7f6afcdedbd6e8cfb5e4df9
Loading…
Cancel
Save