Skip to content

Commit 8ece9c8

Browse files
authored
Merge branch 'main' into add_bouncers_folder
2 parents 6e689d9 + ae6b6ad commit 8ece9c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rpm/SPECS/crowdsec-custom-bouncer.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Summary: Custom bouncer for Crowdsec
55

66
License: MIT
77
URL: 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
99
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1010

1111
BuildRequires: 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
3030
BUILD_VERSION=%{local_version} make
@@ -91,4 +91,4 @@ echo "please enter the binary path in '/etc/crowdsec/bouncers/crowdsec-custom-bo
9191

9292
%preun
9393
systemctl 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"

0 commit comments

Comments
 (0)