Packages are now easier to update

This commit is contained in:
2023-11-04 14:39:34 +01:00
parent 8df93a4a96
commit 685e491925
4 changed files with 205 additions and 20 deletions

View File

@@ -48,12 +48,6 @@ BIN=%{_bindir}/%{name} CFG=/etc/crowdsec/bouncers envsubst '$BIN $CFG' < config/
mkdir -p %{buildroot}%{_presetdir}
install -D -m 644 %{SOURCE1} %{buildroot}%{_presetdir}/
%clean
rm -rf %{buildroot}
%changelog
* Tue Feb 16 2021 Manuel Sabban <manuel@crowdsec.net>
- First initial packaging
# ------------------------------------
# iptables
@@ -183,3 +177,11 @@ fi
if [ "$1" = "1" ]; then
systemctl restart %{name} || echo "cannot restart service"
fi
%clean
rm -rf %{buildroot}
%changelog
* Sat Nov 4 2023 Daniel Steiner <daniel.steiner@dsteiner.ch>
- First initial packaging