Compare commits

...

6 Commits

Author SHA1 Message Date
Fabio Valentini ba60874507
Remove reference to readme file that is not included in published crates
4 months ago
Fedora Release Engineering d14778d775 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
6 months ago
Fedora Release Engineering e3427494f5 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
12 months ago
Fabio Valentini e52507302c
Regenerate with rust2rpm v24
1 year ago
Fedora Release Engineering 7fccc761b3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fedora Release Engineering f782ce638c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago

@ -1,23 +1,23 @@
# Generated by rust2rpm 21 # Generated by rust2rpm 26
# * resolve dependency loop with strum # * tests can only be run in-tree
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate strum_macros %global crate strum_macros
Name: rust-%{crate}0.21 Name: rust-strum_macros0.21
Version: 0.21.1 Version: 0.21.1
Release: %autorelease Release: %autorelease
Summary: Helpful macros for working with enums and strings Summary: Helpful macros for working with enums and strings
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/strum_macros URL: https://crates.io/crates/strum_macros
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * remove reference to readme file that is not included in published crates
Patch: strum_macros-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Helpful macros for working with enums and strings.} Helpful macros for working with enums and strings.}
@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,9 @@
[package]
cargo-toml-patch-comments = [
"remove reference to readme file that is not included in published crates",
]
[tests]
run = ["none"]
comments = ["tests can only be run in-tree"]

@ -0,0 +1,10 @@
--- strum_macros-0.21.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ strum_macros-0.21.1/Cargo.toml 2024-09-14T14:27:08.127903+00:00
@@ -18,7 +18,6 @@
description = "Helpful macros for working with enums and strings"
homepage = "https://github.com/Peternator7/strum"
documentation = "https://docs.rs/strum"
-readme = "../README.md"
keywords = ["enum", "string", "macros", "proc-macros"]
categories = ["development-tools::procedural-macro-helpers", "parsing"]
license = "MIT"
Loading…
Cancel
Save