File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Summary: Custom bouncer for Crowdsec
55
66License: MIT
77URL: https://crowdsec.net
8- Source : crowdsec-custom-bouncer- %(echo $VERSION).tar.gz
8+ Source0 : https://github.com/crowdsecurity/%{ name }/archive/v %(echo $VERSION).tar.gz
99BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
1010
1111BuildRequires: git
@@ -24,7 +24,7 @@ BuildRequires: make
2424%global __mangle_shebangs_exclude_from /usr/bin/env
2525
2626%prep
27- %setup -n crowdsec-custom-bouncer-bouncer- %{version }
27+ %setup -n crowdsec-custom-bouncer-%{version }
2828
2929%build
3030BUILD_VERSION=%{local_version } make
@@ -91,4 +91,4 @@ echo "please enter the binary path in '/etc/crowdsec/bouncers/crowdsec-custom-bo
9191
9292%preun
9393systemctl stop crowdsec-custom-bouncer || echo "cannot stop service"
94- systemctl disable crowdsec-custom-bouncer || echo "cannot disable service"
94+ systemctl disable crowdsec-custom-bouncer || echo "cannot disable service"
You can’t perform that action at this time.
0 commit comments