Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
Name: cosmic-osd |
9 |
Name: cosmic-osd |
10 |
Version: %ver_major.0 |
10 |
Version: %ver_major.0 |
11 |
Release: alt0.1%beta |
11 |
Release: alt0.2%beta |
12 |
|
12 |
|
13 |
Summary: COSMIC OSD |
13 |
Summary: COSMIC OSD |
14 |
License: GPL-3.0 |
14 |
License: GPL-3.0 |
Lines 24-29
Source: %name-%version%beta.tar
Link Here
|
24 |
%endif |
24 |
%endif |
25 |
Source1: %name-%version%beta-cargo.tar |
25 |
Source1: %name-%version%beta-cargo.tar |
26 |
|
26 |
|
|
|
27 |
Patch: cosmic-osd-1.0.0-alt-linux-raw-sys-char-loongarch64.patch |
28 |
|
27 |
BuildRequires(pre): rpm-build-rust |
29 |
BuildRequires(pre): rpm-build-rust |
28 |
BuildRequires: make |
30 |
BuildRequires: make |
29 |
BuildRequires: pkgconfig(xkbcommon) |
31 |
BuildRequires: pkgconfig(xkbcommon) |
Lines 41-46
BuildRequires: pkgconfig(libpulse)
Link Here
|
41 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
43 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
42 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
44 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
43 |
|
45 |
|
|
|
46 |
%patch -p1 |
47 |
# allow patching vendored rust code |
48 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
49 |
./vendor/linux-raw-sys/.cargo-checksum.json |
50 |
|
44 |
%build |
51 |
%build |
45 |
%rust_build |
52 |
%rust_build |
46 |
|
53 |
|
Lines 54-59
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
Link Here
|
54 |
%_bindir/%name |
61 |
%_bindir/%name |
55 |
|
62 |
|
56 |
%changelog |
63 |
%changelog |
|
|
64 |
* Tue Aug 20 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1 |
65 |
- Add loongarch64 patch for linux-raw-sys crate |
66 |
|
57 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
67 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
58 |
- first build for Sisyphus |
68 |
- first build for Sisyphus |
59 |
|
69 |
|
60 |
- |
|
|