public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-quad-rand] rawhide: Update to 0.2.3 (fedora#2447806).
@ 2026-08-23 16:15 Jonathan Steffan
  0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-08-23 16:15 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-quad-rand
Branch : rawhide
Commit : a71391becb891b1ef776d0a25ddd3c5e9d7a0042
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-08-23T10:15:07-06:00
Stats  : +48/-26 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-quad-rand/c/a71391becb891b1ef776d0a25ddd3c5e9d7a0042?branch=rawhide

Log:
Update to 0.2.3 (fedora#2447806).

---
diff --git a/.gitignore b/.gitignore
index 89ac3bc..340183b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /quad-rand-0.2.1.crate
+/quad-rand-0.2.3.crate

diff --git a/quad-rand-LICENSE b/quad-rand-LICENSE
new file mode 100644
index 0000000..0959f75
--- /dev/null
+++ b/quad-rand-LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 not-fl3 <not.fl3@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

diff --git a/rust-quad-rand.spec b/rust-quad-rand.spec
index 7024938..fc663cd 100644
--- a/rust-quad-rand.spec
+++ b/rust-quad-rand.spec
@@ -1,29 +1,26 @@
-# Generated by rust2rpm 17
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate quad-rand
 
-Name:           rust-%{crate}
-Version:        0.2.1
+Name:           rust-quad-rand
+Version:        0.2.3
 Release:        %autorelease
-Summary:        Pseudo random implementation with std atomics
+Summary:        Pseudo random implementation with core atomics
 
-# Upstream license specification: MIT
-# https://github.com/not-fl3/quad-rand/issues/8
 License:        MIT
 URL:            https://crates.io/crates/quad-rand
 Source:         %{crates_source}
+# Upstream has no LICENSE file in the repo or published crate; tracked upstream:
+# https://github.com/not-fl3/quad-rand/issues/8
+# This was created from the MIT SPDX template using author information from Cargo.toml.
+Source1:        quad-rand-LICENSE
 
-ExclusiveArch:  %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch:      noarch
-%endif
-
-BuildRequires:  rust-packaging
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
-Pseudo random implementation with std atomics.}
+Pseudo random implementation with core atomics.}
 
 %description %{_description}
 
@@ -33,12 +30,13 @@ BuildArch:      noarch
 
 %description    devel %{_description}
 
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
 
 %files          devel
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
 
 %package     -n %{name}+default-devel
 Summary:        %{summary}
@@ -46,11 +44,11 @@ BuildArch:      noarch
 
 %description -n %{name}+default-devel %{_description}
 
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+rand-devel
 Summary:        %{summary}
@@ -58,14 +56,15 @@ BuildArch:      noarch
 
 %description -n %{name}+rand-devel %{_description}
 
-This package contains library source intended for building other packages
-which use "rand" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "rand" feature of the "%{crate}" crate.
 
 %files       -n %{name}+rand-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
+cp %{SOURCE1} LICENSE
 %cargo_prep
 
 %generate_buildrequires
@@ -76,6 +75,7 @@ which use "rand" feature of "%{crate}" crate.
 
 %install
 %cargo_install
+install -m 0644 LICENSE %{buildroot}/%{crate_instdir}/
 
 %if %{with check}
 %check

diff --git a/sources b/sources
index b2656dc..c9cda39 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (quad-rand-0.2.1.crate) = 9e2638696bb21e6bee1eea35498678241bf17bedb65731c356f1fc6d58e9f7bb2f4fe5a32e87d43070e4c2edc73f8b81c2e3131586ccd44dd50dddf0fe012254
+SHA512 (quad-rand-0.2.3.crate) = 1ec5af92b0c8266991cdea9593b7deea21a72098de14987187743dd5526c05fcfb5a8bb0c86d8d4cb34b22eea847b897a66c1535f097b28c0ee58e28c4edfa30

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

only message in thread, other threads:[~2026-08-23 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23 16:15 [rpms/rust-quad-rand] rawhide: Update to 0.2.3 (fedora#2447806) Jonathan Steffan

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