Name: prismlinux-settings Version: 1.0.2 Release: 1%{?dist} License: MIT URL: https://prismlinux.org Source1: src Requires: inxi Requires: systemd >= 256 Requires: systemd-sysvcompat >= 256 BuildArch: noarch %description %post #!/bin/bash if [ $1 -eq 1 ]; then #first install echo "Enabling services..." for service in "${SERVICES[@]}"; do systemctl enable "$service" done if [ $1 -eq 2 ]; then #upgrade echo "Enabling services..." for service in "${SERVICES[@]}"; do if systemctl is-active "$service" >/dev/null; then systemctl restart "$service" fi done if systemctl is-active "systemd-oomd" >/dev/null; then systemctl disable systemd-oomd fi fi %install cp -a %{Source1}/etc %{buildroot}/ cp -a %{Source1}/usr %{buildroot}/ %files /etc/* /usr/* %changelog * Sun Nov 23 2025 CrystalNetwork Studio - 1.0-1 - Initial PrismLinux release