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-macros] epel10: initial import
Date: Mon, 15 Jun 2026 14:13:14 GMT [thread overview]
Message-ID: <178153279491.1.8344713647001418183.rpms-rust-cssparser-macros-6016526f2519@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-cssparser-macros
Branch : epel10
Commit : 6016526f2519d7a246bbec8b0702ebc3000fcccc
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-01-25T07:51:48+01:00
Stats : +75/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-cssparser-macros/c/6016526f2519d7a246bbec8b0702ebc3000fcccc?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..5efcca2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cssparser-macros-0.3.0.crate
diff --git a/cssparser-macros-0.3.0-fix-metadata.diff b/cssparser-macros-0.3.0-fix-metadata.diff
new file mode 100644
index 0000000..db00ba7
--- /dev/null
+++ b/cssparser-macros-0.3.0-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- cssparser-macros-0.3.0/Cargo.toml 2017-04-24T12:29:55+02:00
++++ cssparser-macros-0.3.0/Cargo.toml 2018-01-24T15:11:02.054945+01:00
+@@ -12,7 +12,7 @@
+ proc-macro = true
+
+ [dependencies]
+-procedural-masquerade = {path = "../procedural-masquerade", version = "0.1"}
++procedural-masquerade = "0.1"
+ phf_codegen = "0.7"
+ quote = "0.3.14"
+ syn = {version = "0.11.8", features = ["full"]}
diff --git a/rust-cssparser-macros.spec b/rust-cssparser-macros.spec
new file mode 100644
index 0000000..d9d673c
--- /dev/null
+++ b/rust-cssparser-macros.spec
@@ -0,0 +1,62 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cssparser-macros
+
+Name: rust-%{crate}
+Version: 0.3.0
+Release: 1%{?dist}
+Summary: Procedural macros for cssparser
+
+# https://github.com/servo/rust-cssparser/pull/201
+License: MPLv2.0
+URL: https://crates.io/crates/cssparser-macros
+Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+# Initial patched metadata
+# * No paths
+Patch0: cssparser-macros-0.3.0-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(phf_codegen) >= 0.7.0 with crate(phf_codegen) < 0.8.0)
+BuildRequires: (crate(procedural-masquerade) >= 0.1.0 with crate(procedural-masquerade) < 0.2.0)
+BuildRequires: (crate(quote) >= 0.3.14 with crate(quote) < 0.4.0)
+BuildRequires: ((crate(syn) >= 0.11.8 with crate(syn) < 0.12.0) with crate(syn/full))
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Procedural macros for cssparser.
+
+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
+%cargo_test
+%endif
+
+%files devel
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..53d68e7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cssparser-macros-0.3.0.crate) = 46ad82a999d1fdcd554a58808c1b846a740305f403c82f81a40ba342dc7cf04d9b26efd7fae7db497662c80d0c9b569f676c24ba0df064cecf3e3bc3eba18e84
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=178153279491.1.8344713647001418183.rpms-rust-cssparser-macros-6016526f2519@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