Initial import (fedora#2254743)

epel10
Albert Larsan 1 year ago
parent 747b73a91c
commit 68e91bcd05
No known key found for this signature in database
GPG Key ID: D27C26E057F0D9A5

2
.gitignore vendored

@ -0,0 +1,2 @@
/psl-2.1.13.crate
/psl-2.1.14.crate

@ -0,0 +1,81 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate psl
Name: rust-psl
Version: 2.1.14
Release: %autorelease
Summary: Extract root domain and suffix from a domain name
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/psl
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Extract root domain and suffix from a domain name.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+helpers-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+helpers-devel %{_description}
This package contains library source intended for building other packages which
use the "helpers" feature of the "%{crate}" crate.
%files -n %{name}+helpers-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (psl-2.1.14.crate) = f3a3f215c8f9202f5327bf3491826691d02e164d4555ccbef65a72331c82aa5910691d69ef49d1189cac2653472d83407565b3077ffd94e8c570bfe93501d134
Loading…
Cancel
Save