public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-self_cell] f43: Update to 1.3.0
@ 2026-08-29 22:50 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-29 22:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-self_cell
Branch : f43
Commit : 864f0416ed9c1639a91a55fd1303c294341239d3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-24T12:51:11-03:00
Stats : +10/-40 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-self_cell/c/864f0416ed9c1639a91a55fd1303c294341239d3?branch=f43
Log:
Update to 1.3.0
Resolves: rhbz#2426290
---
diff --git a/.gitignore b/.gitignore
index d32b7ad..2f27402 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/self_cell-1.0.4.crate
/self_cell-1.1.0.crate
/self_cell-1.2.1.crate
+/self_cell-1.3.0.crate
diff --git a/rust-self_cell.spec b/rust-self_cell.spec
index 0197d99..c1617df 100644
--- a/rust-self_cell.spec
+++ b/rust-self_cell.spec
@@ -5,17 +5,13 @@
%global crate self_cell
Name: rust-self_cell
-Version: 1.2.1
+Version: 1.3.0
Release: %autorelease
Summary: Safe-to-use proc-macro-free self-referential structs in stable Rust
License: Apache-2.0 OR GPL-2.0-only
URL: https://crates.io/crates/self_cell
Source: %{crates_source}
-# * LICENSE files not shipped, see
-# https://github.com/Voultapher/self_cell/pull/73
-Source2: https://raw.githubusercontent.com/Voultapher/self_cell/refs/tags/v%{version}/LICENSE-APACHE
-Source3: https://raw.githubusercontent.com/Voultapher/self_cell/refs/tags/v%{version}/LICENSE-GPLv2
# Manually created patch for downstream crate metadata changes
# * fix broken / open-ended dependency version restrictions
Patch: self_cell-fix-metadata.diff
@@ -80,7 +76,6 @@ use the "rustversion" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version} -p1
-cp -p %{SOURCE2} %{SOURCE3} .
%cargo_prep
%generate_buildrequires
@@ -91,7 +86,6 @@ cp -p %{SOURCE2} %{SOURCE3} .
%install
%cargo_install
-cp -p LICENSE-* %{buildroot}%{crate_instdir}/
%if %{with check}
%check
diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index bebc453..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,26 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
- "fix broken / open-ended dependency version restrictions",
-]
-license-files = ["LICENSE-APACHE", "LICENSE-GPLv2"]
-
-[[package.extra-sources]]
-number = 2
-file = "https://raw.githubusercontent.com/Voultapher/self_cell/refs/tags/v%{version}/LICENSE-APACHE"
-comments = [
- "LICENSE files not shipped, see https://github.com/Voultapher/self_cell/pull/73",
-]
-
-[[package.extra-sources]]
-number = 3
-file = "https://raw.githubusercontent.com/Voultapher/self_cell/refs/tags/v%{version}/LICENSE-GPLv2"
-comments = []
-
-[scripts]
-prep.pre = [
- "cp -p %{SOURCE2} %{SOURCE3} .",
-]
-
-install.post = [
- "cp -p LICENSE-* %{buildroot}%{crate_instdir}/",
-]
diff --git a/self_cell-fix-metadata.diff b/self_cell-fix-metadata.diff
index 3ea8627..ea2d086 100644
--- a/self_cell-fix-metadata.diff
+++ b/self_cell-fix-metadata.diff
@@ -1,13 +1,14 @@
---- self_cell-1.2.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ self_cell-1.2.1/Cargo.toml 2025-12-30T14:20:36.164000+00:00
-@@ -51,8 +51,8 @@
- path = "src/lib.rs"
-
+--- self_cell-1.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ self_cell-1.3.0/Cargo.toml 2026-08-24T12:45:00.000000+00:00
+@@ -26,9 +26,9 @@
+ repository = "https://github.com/Voultapher/self_cell"
[dependencies.rustversion]
-version = ">=1"
+version = "1"
optional = true
-
[dev-dependencies.once_cell]
-version = "=1.1.0"
+version = "1.1.0"
+
+ [features]
+ old_rust = ["rustversion"]
diff --git a/sources b/sources
index 04f8c9f..eaf2eb3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (self_cell-1.2.1.crate) = ce01bfe6d718b5b15e257e37d07b3c4b2cf54c43eb1d048b858daad4f7c9b808354bb5ba4ae4b8ad4f561a7833a31e7f86e481340ef58cf1f4dd2dcfd992f034
+SHA512 (self_cell-1.3.0.crate) = b7a629dafc90702468a9b4d97bab7f222e6f7263b3755709fe8da3311ee50245c304006ee3f12401f0226807ab1f0a44d25759caf2b84a33757fc76f9867036d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-29 22:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-29 22:50 [rpms/rust-self_cell] f43: Update to 1.3.0 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox