public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cssparser] epel10: initial import
Date: Mon, 15 Jun 2026 14:13:30 GMT [thread overview]
Message-ID: <178153281060.1.17873267154058513564.rpms-rust-cssparser-ac8888c2c88b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-cssparser
Branch : epel10
Commit : ac8888c2c88b6f8b592dae8f2918391369b2d842
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-01-27T07:13:41+01:00
Stats : +89/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-cssparser/c/ac8888c2c88b6f8b592dae8f2918391369b2d842?branch=epel10
Log:
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..87aec8b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cssparser-0.23.2.crate
diff --git a/cssparser-0.23.2-fix-metadata.diff b/cssparser-0.23.2-fix-metadata.diff
new file mode 100644
index 0000000..0a53833
--- /dev/null
+++ b/cssparser-0.23.2-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- cssparser-0.23.2/Cargo.toml 1970-01-01T01:00:00+01:00
++++ cssparser-0.23.2/Cargo.toml 2018-01-24T16:33:34.633474+01:00
+@@ -51,7 +51,7 @@
+ [dependencies.smallvec]
+ version = "0.6"
+ [dev-dependencies.difference]
+-version = "1.0"
++version = "2.0"
+
+ [dev-dependencies.encoding_rs]
+ version = "0.7"
diff --git a/rust-cssparser.spec b/rust-cssparser.spec
new file mode 100644
index 0000000..f51ebf3
--- /dev/null
+++ b/rust-cssparser.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cssparser
+
+Name: rust-%{crate}
+Version: 0.23.2
+Release: 1%{?dist}
+Summary: Rust implementation of CSS Syntax Level 3
+
+License: MPLv2.0
+URL: https://crates.io/crates/cssparser
+Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+# Initial patched metadata
+# * Bump difference to 2.0, https://github.com/servo/rust-cssparser/pull/212
+Patch0: cssparser-0.23.2-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(cssparser-macros) >= 0.3.0 with crate(cssparser-macros) < 0.4.0)
+BuildRequires: (crate(dtoa-short) >= 0.3.0 with crate(dtoa-short) < 0.4.0)
+BuildRequires: (crate(heapsize) >= 0.3.0 with crate(heapsize) < 0.5.0)
+BuildRequires: (crate(itoa) >= 0.3.0 with crate(itoa) < 0.4.0)
+BuildRequires: (crate(matches) >= 0.1.0 with crate(matches) < 0.2.0)
+BuildRequires: (crate(phf) >= 0.7.0 with crate(phf) < 0.8.0)
+BuildRequires: (crate(procedural-masquerade) >= 0.1.0 with crate(procedural-masquerade) < 0.2.0)
+BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
+BuildRequires: (crate(smallvec) >= 0.6.0 with crate(smallvec) < 0.7.0)
+# [build-dependencies]
+BuildRequires: (crate(quote) >= 0.3.0 with crate(quote) < 0.4.0)
+BuildRequires: (crate(syn) >= 0.11.0 with crate(syn) < 0.12.0)
+%if %{with check}
+# [dev-dependencies]
+BuildRequires: (crate(difference) >= 2.0.0 with crate(difference) < 3.0.0)
+BuildRequires: (crate(encoding_rs) >= 0.7.0 with crate(encoding_rs) < 0.8.0)
+BuildRequires: (crate(rustc-serialize) >= 0.3.0 with crate(rustc-serialize) < 0.4.0)
+%endif
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Rust implementation of CSS Syntax Level 3.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+# https://github.com/servo/rust-cssparser/issues/213
+%cargo_test --doc
+%endif
+
+%files devel
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.23.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..639990d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cssparser-0.23.2.crate) = 53d03959883a27143cf1447880ea2f3ed10580091b831e1e3d1c0726a7e4b82494849022dcc25e4c0aa60286dc573daf7c43986e7e0de651e9b98596db5c33c3
reply other threads:[~2026-06-15 14:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178153281060.1.17873267154058513564.rpms-rust-cssparser-ac8888c2c88b@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox