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: Update to 0.25.1
Date: Mon, 15 Jun 2026 14:13:38 GMT	[thread overview]
Message-ID: <178153281819.1.13762247028946045863.rpms-rust-cssparser-9cac75f12e81@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-cssparser
            Branch : epel10
            Commit : 9cac75f12e81879de89a6fd3bd0b330f84d0f655
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-02-10T17:40:08+01:00
            Stats  : +121/-37 in 7 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-cssparser/c/9cac75f12e81879de89a6fd3bd0b330f84d0f655?branch=epel10

            Log:
            Update to 0.25.1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index db9f140..07d7e30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /cssparser-0.23.10.crate
 /cssparser-0.24.0.crate
 /cssparser-0.24.1.crate
+/cssparser-0.25.2.crate

diff --git a/cssparser-fix-metadata.diff b/cssparser-fix-metadata.diff
index e3e7277..3d0d6cd 100644
--- a/cssparser-fix-metadata.diff
+++ b/cssparser-fix-metadata.diff
@@ -1,5 +1,5 @@
---- cssparser-0.24.1/Cargo.toml	1970-01-01T01:00:00+01:00
-+++ cssparser-0.24.1/Cargo.toml	2018-10-04T14:15:33.095029+02:00
+--- cssparser-0.25.2/Cargo.toml	1970-01-01T01:00:00+01:00
++++ cssparser-0.25.2/Cargo.toml	2019-02-10T17:38:13.438776+01:00
 @@ -54,7 +54,7 @@
  version = "2.0"
  

diff --git a/rust-cssparser.spec b/rust-cssparser.spec
index 6db6738..b972779 100644
--- a/rust-cssparser.spec
+++ b/rust-cssparser.spec
@@ -1,18 +1,18 @@
 # Generated by rust2rpm
-%bcond_without check
+%bcond_with check
 %global debug_package %{nil}
 
 %global crate cssparser
 
 Name:           rust-%{crate}
-Version:        0.24.1
-Release:        2%{?dist}
+Version:        0.25.2
+Release:        1%{?dist}
 Summary:        Rust implementation of CSS Syntax Level 3
 
 # Upstream license specification: MPL-2.0
 License:        MPLv2.0
 URL:            https://crates.io/crates/cssparser
-Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+Source:         %{crates_source}
 # Initial patched metadata
 # * Bump encoding_rs to 0.8, https://github.com/servo/rust-cssparser/pull/227
 Patch0:         cssparser-fix-metadata.diff
@@ -20,42 +20,109 @@ Patch0:         cssparser-fix-metadata.diff
 ExclusiveArch:  %{rust_arches}
 
 BuildRequires:  rust-packaging
-# [dependencies]
-BuildRequires:  (crate(cssparser-macros) >= 0.3.3 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.4.0 with crate(itoa) < 0.5.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(proc-macro2) >= 0.4.0 with crate(proc-macro2) < 0.5.0)
-BuildRequires:  (crate(quote) >= 0.6.0 with crate(quote) < 0.7.0)
-BuildRequires:  ((crate(syn) >= 0.14.0 with crate(syn) < 0.15.0) with crate(syn/extra-traits) with crate(syn/fold) with crate(syn/full))
+BuildRequires:  (crate(cssparser-macros/default) >= 0.3.3 with crate(cssparser-macros/default) < 0.4.0)
+BuildRequires:  (crate(dtoa-short/default) >= 0.3.0 with crate(dtoa-short/default) < 0.4.0)
+BuildRequires:  (crate(heapsize/default) >= 0.3.0 with crate(heapsize/default) < 0.5.0)
+BuildRequires:  (crate(itoa/default) >= 0.4.0 with crate(itoa/default) < 0.5.0)
+BuildRequires:  (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0)
+BuildRequires:  (crate(phf/default) >= 0.7.0 with crate(phf/default) < 0.8.0)
+BuildRequires:  (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
+BuildRequires:  (crate(procedural-masquerade/default) >= 0.1.0 with crate(procedural-masquerade/default) < 0.2.0)
+BuildRequires:  (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0)
+BuildRequires:  (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
+BuildRequires:  (crate(smallvec/default) >= 0.6.0 with crate(smallvec/default) < 0.7.0)
+BuildRequires:  (crate(syn/default) >= 0.15.12 with crate(syn/default) < 0.16.0)
+BuildRequires:  (crate(syn/extra-traits) >= 0.15.12 with crate(syn/extra-traits) < 0.16.0)
+BuildRequires:  (crate(syn/fold) >= 0.15.12 with crate(syn/fold) < 0.16.0)
+BuildRequires:  (crate(syn/full) >= 0.15.12 with crate(syn/full) < 0.16.0)
 %if %{with check}
-# [dev-dependencies]
-BuildRequires:  (crate(difference) >= 2.0.0 with crate(difference) < 3.0.0)
-BuildRequires:  (crate(encoding_rs) >= 0.8.0 with crate(encoding_rs) < 0.9.0)
-BuildRequires:  (crate(rustc-serialize) >= 0.3.0 with crate(rustc-serialize) < 0.4.0)
+BuildRequires:  (crate(difference/default) >= 2.0.0 with crate(difference/default) < 3.0.0)
+BuildRequires:  (crate(encoding_rs/default) >= 0.8.0 with crate(encoding_rs/default) < 0.9.0)
+BuildRequires:  (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0)
 %endif
 
-%description
-%{summary}.
+%global _description \
+Rust implementation of CSS Syntax Level 3.
+
+%description %{_description}
 
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description    devel
-Rust implementation of CSS Syntax Level 3.
+%description    devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files          devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+%exclude %{cargo_registry}/%{crate}-%{version}/docs
+
+%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 %{crate} from crates.io.
+which use "default" feature of "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/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 "bench" feature of "%{crate}" crate.
+
+%files       -n %{name}+bench-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+dummy_match_byte-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+dummy_match_byte-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dummy_match_byte" feature of "%{crate}" crate.
+
+%files       -n %{name}+dummy_match_byte-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package     -n %{name}+heapsize-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+heapsize-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "heapsize" feature of "%{crate}" crate.
+
+%files       -n %{name}+heapsize-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/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}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
 %cargo_prep
 
 %build
@@ -70,13 +137,10 @@ which use %{crate} from crates.io.
 %cargo_test -- --doc
 %endif
 
-%files          devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-%exclude %{cargo_registry}/%{crate}-%{version}/docs
-
 %changelog
+* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.25.2-1
+- Update to 0.25.2
+
 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
 

diff --git a/sources b/sources
index 2fbe7f4..9187e8e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cssparser-0.24.1.crate) = d7ab543e82a36d87670e6d132cd97f4f563cffeebf58ee6669bf15d0bff5a8a2790d6f598a59bb64672baf9803dd4fc093da6c1df2ae1d20d3c0425e3759a5a1
+SHA512 (cssparser-0.25.2.crate) = 4b40c2a68c07001769f1c8070e739b4f48ad245e5bfecc8e1b39cf0192dd437b6a70b3a645a108aa164c6ef8135a71ae99258c96555b23023d579a415d81ceec

diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+  qemu:
+    # `cargo test` usually eats more than 1G.
+    m: 4G

diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..8b76203
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+  roles:
+  - role: standard-test-basic
+    tags:
+    - classic
+    repositories:
+    - repo: "https://src.fedoraproject.org/tests/rust.git"
+      dest: rust
+    tests:
+    - rust/cargo-test
+    environment:
+      pkg: rust-cssparser

                 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=178153281819.1.13762247028946045863.rpms-rust-cssparser-9cac75f12e81@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