public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zvariant4] rawhide: compat package no longer needed
@ 2026-10-27 19:05 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-27 19:05 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-zvariant4
Branch : rawhide
Commit : 6580d62a13f1b96c154d7f0aab76885f120d0fbc
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-27T20:05:39+01:00
Stats  : +1/-258 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-zvariant4/c/6580d62a13f1b96c154d7f0aab76885f120d0fbc?branch=rawhide

Log:
compat package no longer needed

---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 48a0cf6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/zvariant-4.2.0.crate

diff --git a/0001-deny-warnings-considered-harmful.patch b/0001-deny-warnings-considered-harmful.patch
deleted file mode 100644
index 94339c4..0000000
--- a/0001-deny-warnings-considered-harmful.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From c69c0aba07b81a54f53eb2f38f6760c685560a98 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Tue, 27 Oct 2026 15:49:40 +0100
-Subject: [PATCH] deny(warnings) considered harmful
-
----
- src/lib.rs | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 017513d..4b5c45e 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -6,7 +6,6 @@
- #![doc = include_str!("../README.md")]
- #![doc(test(attr(
-     warn(unused),
--    deny(warnings),
-     allow(dead_code),
-     // W/o this, we seem to get some bogus warning about `extern crate zbus`.
-     allow(unused_extern_crates),
--- 
-2.56.0
-

diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..3f67be8
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+compat package no longer needed

diff --git a/rust-zvariant4.spec b/rust-zvariant4.spec
deleted file mode 100644
index 5c0b047..0000000
--- a/rust-zvariant4.spec
+++ /dev/null
@@ -1,204 +0,0 @@
-# Generated by rust2rpm 27
-%bcond check 1
-%global debug_package %{nil}
-
-%global crate zvariant
-
-Name:           rust-zvariant4
-Version:        4.2.0
-Release:        %autorelease
-Summary:        D-Bus & GVariant encoding & decoding
-
-License:        MIT
-URL:            https://crates.io/crates/zvariant
-Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * drop unused, benchmark-only criterion dev-dependency
-Patch:          zvariant-fix-metadata.diff
-Patch:          0001-deny-warnings-considered-harmful.patch
-
-BuildRequires:  cargo-rpm-macros >= 24
-
-%global _description %{expand:
-D-Bus & GVariant encoding & decoding.}
-
-%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}+arrayvec-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+arrayvec-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "arrayvec" feature of the "%{crate}" crate.
-
-%files       -n %{name}+arrayvec-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+chrono-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+chrono-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "chrono" feature of the "%{crate}" crate.
-
-%files       -n %{name}+chrono-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+enumflags2-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+enumflags2-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "enumflags2" feature of the "%{crate}" crate.
-
-%files       -n %{name}+enumflags2-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+gvariant-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+gvariant-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "gvariant" feature of the "%{crate}" crate.
-
-%files       -n %{name}+gvariant-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+heapless-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+heapless-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "heapless" feature of the "%{crate}" crate.
-
-%files       -n %{name}+heapless-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+option-as-array-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+option-as-array-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "option-as-array" feature of the "%{crate}" crate.
-
-%files       -n %{name}+option-as-array-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+ostree-tests-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+ostree-tests-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "ostree-tests" feature of the "%{crate}" crate.
-
-%files       -n %{name}+ostree-tests-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+serde_bytes-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+serde_bytes-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "serde_bytes" feature of the "%{crate}" crate.
-
-%files       -n %{name}+serde_bytes-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+time-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+time-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "time" feature of the "%{crate}" crate.
-
-%files       -n %{name}+time-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+url-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+url-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "url" feature of the "%{crate}" crate.
-
-%files       -n %{name}+url-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+uuid-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+uuid-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "uuid" feature of the "%{crate}" crate.
-
-%files       -n %{name}+uuid-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

diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index 2cd7101..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
-    "drop unused, benchmark-only criterion dev-dependency",
-]
-

diff --git a/sources b/sources
deleted file mode 100644
index be7f6f0..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (zvariant-4.2.0.crate) = ae7329db133ff8c262443bfe6fc10698606501ecdde8295367f3876e9c590730778ad2d4977c27e26288c92737055897686e7a0d30210723279c33da7467af80

diff --git a/zvariant-fix-metadata.diff b/zvariant-fix-metadata.diff
deleted file mode 100644
index a9d9929..0000000
--- a/zvariant-fix-metadata.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- zvariant-4.2.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ zvariant-4.2.0/Cargo.toml	2024-12-31T18:40:58.733837+00:00
-@@ -36,10 +36,6 @@
- 
- [lib]
- bench = false
--
--[[bench]]
--name = "benchmarks"
--harness = false
- 
- [dependencies.arrayvec]
- version = "0.7.4"
-@@ -94,9 +90,6 @@
- [dependencies.zvariant_derive]
- version = "=4.2.0"
- 
--[dev-dependencies.criterion]
--version = "0.5.1"
--
- [dev-dependencies.glib]
- version = "0.20.0"
- 

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

only message in thread, other threads:[~2026-10-27 19:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 19:05 [rpms/rust-zvariant4] rawhide: compat package no longer needed Fabio Valentini

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