optimizations
This commit is contained in:
parent
d12ff72c98
commit
474e578319
@ -22,3 +22,10 @@ rust-i18n = "3.0.1"
|
||||
|
||||
[build-dependencies]
|
||||
glib-build-tools = "0.19.0"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z' # Optimize for size
|
||||
lto = true # Enable link-time optimization
|
||||
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
||||
panic = 'abort' # Abort on panic
|
||||
strip = true # Strip symbols from binary*
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
Name: fedora-kernel-manager
|
||||
Version: %{pkg_release}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Libraries
|
||||
Summary: A Libadwaita rust based application for managing and installing kernels.
|
||||
@ -37,18 +37,6 @@ Recommends: sched-ext-scx
|
||||
%description
|
||||
A Libadwaita rust based application for managing and installing kernels.
|
||||
|
||||
%package cachyos-config
|
||||
Summary: Config files to enable coprs/bieszczaders/kernel-cachyos in fedora-kernel-manager
|
||||
Requires: fedora-kernel-manager
|
||||
|
||||
%description cachyos-config
|
||||
Config files to enable coprs/bieszczaders/kernel-cachyos in fedora-kernel-manager
|
||||
|
||||
%files cachyos-config
|
||||
%{_prefix}/lib/fedora-kernel-manager/kernel_branches/kernel-cachyos.json
|
||||
%{_datadir}/polkit-1/actions/fkm.kernel.cachyos.init.policy
|
||||
%{_datadir}/polkit-1/rules.d/99-fkm.kernel.cachyos.init.rules
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n fedora-kernel-manager
|
||||
|
||||
@ -62,3 +50,16 @@ DESTDIR=%{buildroot} make install
|
||||
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||
%{_datadir}/polkit-1/actions/fkm.change.scx.policy
|
||||
%{_datadir}/polkit-1/actions/fkm.modify.package.policy
|
||||
%exclude %{_prefix}/lib/fedora-kernel-manager/kernel_branches/kernel-cachyos.json
|
||||
|
||||
%package cachyos-config
|
||||
Summary: Config files to enable coprs/bieszczaders/kernel-cachyos in fedora-kernel-manager
|
||||
Requires: fedora-kernel-manager
|
||||
|
||||
%description cachyos-config
|
||||
Config files to enable coprs/bieszczaders/kernel-cachyos in fedora-kernel-manager
|
||||
|
||||
%files cachyos-config
|
||||
%{_prefix}/lib/fedora-kernel-manager/kernel_branches/kernel-cachyos.json
|
||||
%{_datadir}/polkit-1/actions/fkm.kernel.cachyos.init.policy
|
||||
%{_datadir}/polkit-1/rules.d/99-fkm.kernel.cachyos.init.rules
|
Loading…
Reference in New Issue
Block a user