Skip to content

Commit 68215a3

Browse files
Upgrade rust-tiny-dfr to upstream tag v0.3.1
1 parent dcdf911 commit 68215a3

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

rust-tiny-dfr/rust-tiny-dfr.spec

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
%global forgeurl https://github.com/sharpenedblade/tiny-dfr
2-
%global commit 82d80aef1a6e7ce2c5bd3dd766e6c658ed4a51da
1+
%global forgeurl https://github.com/WhatAmISupposedToPutHere/tiny-dfr
2+
%global tag v0.3.1
33
%global crate tiny-dfr
44
%forgemeta
55

66
Name: rust-%{crate}
7-
Version: 0.2.0
8-
Release: 6%{?dist}
7+
Version: 0.3.1
8+
Release: 1%{?dist}
99
Summary: The most basic dynamic function row daemon possible
1010
License: MIT AND Apache-2.0
1111
URL: %{forgeurl}
1212
Source: %{forgesource}
1313

14-
%{?fc39:Patch: 0002-downgrade-cairo-rs.patch}
14+
%if 0%{?fedora} > 40
15+
Patch: tiny-dfr-fix-metadata.diff
16+
%endif
1517

1618
BuildRequires: rust-packaging >= 23
1719
BuildRequires: systemd-rpm-macros
1820

1921
%description
2022
The most basic dynamic function row daemon possible
2123

22-
License: Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-or-later AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
23-
2424
%files
2525
%license LICENSE
2626
%license LICENSE.material

rust-tiny-dfr/0002-downgrade-cairo-rs.patch renamed to rust-tiny-dfr/tiny-dfr-fix-metadata.diff

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ index 7ff6ce3..4733aaa 100644
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
-cairo-rs = { version = "0.19", default-features = false, features = ["freetype"] }
10-
-librsvg = "2.58"
11-
+cairo-rs = { version = "0.18", default-features = false, features = ["freetype"] }
12-
+librsvg = "2.57"
9+
-cairo-rs = { version = "0.18", default-features = false, features = ["freetype"] }
10+
-librsvg = "2.57"
11+
+cairo-rs = { version = "0.19", default-features = false, features = ["freetype"] }
12+
+librsvg = "~2.58"
1313
drm = "0.11.1"
1414
anyhow = "1"
1515
input = "0.8"
1616
@@ -23,7 +23,7 @@ privdrop = "0.5.3"
1717
serde = { version = "1", features = ["derive"] }
1818
toml = "0.8"
1919
rand = "0.8"
20-
-freetype-rs = "0.35"
21-
+freetype-rs = "0.32"
20+
-freetype-rs = "0.32"
21+
+freetype-rs = "0.35"
2222

2323
[build-dependencies]
2424
pkg-config = "0.3"

0 commit comments

Comments
 (0)