Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
Name: cosmic-settings-daemon |
9 |
Name: cosmic-settings-daemon |
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 Settings Daemon |
13 |
Summary: COSMIC Settings Daemon |
14 |
License: GPL-2.0 |
14 |
License: GPL-2.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-settings-daemon-1.0.0-alt-linux-raw-sys-char-loongarch64.patch |
28 |
|
27 |
ExcludeArch: %ix86 armh ppc64le |
29 |
ExcludeArch: %ix86 armh ppc64le |
28 |
|
30 |
|
29 |
Requires: cosmic-settings |
31 |
Requires: cosmic-settings |
Lines 44-49
BuildRequires: pkgconfig(libudev)
Link Here
|
44 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
46 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
45 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
47 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
46 |
|
48 |
|
|
|
49 |
%patch -p1 |
50 |
# allow patching vendored rust code |
51 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
52 |
./vendor/linux-raw-sys/.cargo-checksum.json |
53 |
|
47 |
%build |
54 |
%build |
48 |
%rust_build |
55 |
%rust_build |
49 |
|
56 |
|
Lines 59-64
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
Link Here
|
59 |
%_datadir/polkit-1/rules.d/%name.rules |
66 |
%_datadir/polkit-1/rules.d/%name.rules |
60 |
|
67 |
|
61 |
%changelog |
68 |
%changelog |
|
|
69 |
* Wed Aug 21 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1 |
70 |
- Add loongarch64 patch for linux-raw-sys crate |
71 |
|
62 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
72 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
63 |
- first build for Sisyphus (epoch-1.0.0-alpha.1-3-g93c5494) |
73 |
- first build for Sisyphus (epoch-1.0.0-alpha.1-3-g93c5494) |
64 |
|
74 |
|
65 |
- |
|
|