|
Lines 8-14
Link Here
|
| 8 |
|
8 |
|
| 9 |
Name: cosmic-settings |
9 |
Name: cosmic-settings |
| 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 |
13 |
Summary: COSMIC Settings |
| 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 |
Patch0: cosmic-settings-1.0.0-alt-linux-raw-sys-char-loongarch64.patch |
| 28 |
Patch1: cosmic-settings-1.0.0-alt-generator-loongarch64.patch |
| 29 |
|
| 27 |
# error: could not compile `generator` (lib) due to 2 previous errors |
30 |
# error: could not compile `generator` (lib) due to 2 previous errors |
| 28 |
ExcludeArch: %ix86 armh ppc64le |
31 |
ExcludeArch: %ix86 armh ppc64le |
| 29 |
|
32 |
|
|
Lines 54-59
The settings application for the COSMIC desktop environment.
Link Here
|
| 54 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
57 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
| 55 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
58 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
| 56 |
|
59 |
|
|
|
60 |
%patch0 -p2 |
| 61 |
%patch1 -p2 |
| 62 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
| 63 |
./vendor/linux-raw-sys/.cargo-checksum.json \ |
| 64 |
./vendor/generator/.cargo-checksum.json |
| 65 |
|
| 57 |
%build |
66 |
%build |
| 58 |
%rust_build |
67 |
%rust_build |
| 59 |
|
68 |
|
|
Lines 78-83
just rootdir=%buildroot install
Link Here
|
| 78 |
%doc README* |
87 |
%doc README* |
| 79 |
|
88 |
|
| 80 |
%changelog |
89 |
%changelog |
|
|
90 |
* Wed Aug 28 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1 |
| 91 |
- Add generator and linux-raw-sys patch for loongarch64 |
| 92 |
|
| 81 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
93 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
| 82 |
- first build for Sisyphus (epoch-1.0.0-alpha.1-27-g83a4296) |
94 |
- first build for Sisyphus (epoch-1.0.0-alpha.1-27-g83a4296) |
| 83 |
|
95 |
|
| 84 |
- |
|
|