public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-selectors] epel10: Initial Fedora packaging
@ 2026-06-15 14:14 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-06-15 14:14 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-selectors
Branch : epel10
Commit : 3f4b9e120ddca0e1e8b3612ffd1fa969e49ca8b0
Author : Kalev Lember <klember@redhat.com>
Date   : 2022-10-15T17:54:41+02:00
Stats  : +84/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-selectors/c/3f4b9e120ddca0e1e8b3612ffd1fa969e49ca8b0?branch=epel10

Log:
Initial Fedora packaging

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2120010
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/selectors-0.23.0.crate

diff --git a/rust-selectors.spec b/rust-selectors.spec
new file mode 100644
index 0000000..13575a6
--- /dev/null
+++ b/rust-selectors.spec
@@ -0,0 +1,82 @@
+# Generated by rust2rpm 22
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate selectors
+
+Name:           rust-selectors
+Version:        0.23.0
+Release:        %autorelease
+Summary:        CSS Selectors matching for Rust
+
+License:        MPL-2.0
+URL:            https://crates.io/crates/selectors
+Source:         %{crates_source}
+
+ExclusiveArch:  %{rust_arches}
+
+BuildRequires:  rust-packaging >= 21
+
+%global _description %{expand:
+CSS Selectors matching for Rust.}
+
+%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 file is missing from the crate
+%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}+bench-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+bench-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "bench" feature of the "%{crate}" crate.
+
+%files       -n %{name}+bench-devel
+%ghost %{crate_instdir}/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
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..86e1d4c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (selectors-0.23.0.crate) = accbdc79342e958638724d68cfc89d6c218ee4fb42e15ef0a5fc204525ff75986491a67ea105c9528ce123397337cb7d0cc979e7beeafa97642487760d6712f7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 14:14 [rpms/rust-selectors] epel10: Initial Fedora packaging Kalev Lember

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox