Files
netoik-cache/netoik-cache.spec
samuel 7fe1fef339
Some checks failed
Continuous Integration / lint_n_build (push) Failing after 16s
Continuous Delivery / build_n_upload (push) Failing after 16s
feat: first commit
2026-03-14 01:05:45 +01:00

39 lines
827 B
RPMSpec

%define debug_package %{nil}
Name: %(make name)
Version: %(make version)
Release: %(make release)
Summary: %(make summary)
License: %(make license)
URL: %(make url)
Source0: %(make source0)
Buildarch: %(make arch)
BuildRequires: make
Requires: valkey
%description
Install the cache server called Valkey, a fork of Redis which is not included in repositories of RockyLinux v10.
%prep
%autosetup -v
%install
%make_install
%post
# Restart services
systemctl daemon-reload
systemctl reenable valkey.service
systemctl restart valkey.service
%files
%attr(644, root, root) %{_sysconfdir}/valkey/netoik_valkey.conf
%attr(755, root, root) %{_unitdir}/valkey.service.d
%attr(644, root, root) %{_unitdir}/valkey.service.d/valkey.conf
%changelog
%autochangelog