diff --git a/make.sh b/make.sh
index 488d520f53ff6475ad81b21fbc93e6a9c6f59ceb..ff58c32e97819c714313ed2deba9c77f922a2b5d 100755
--- a/make.sh
+++ b/make.sh
@@ -1,5 +1,7 @@
 #!/bin/bash -x
 
+. /etc/os-release
+
 cat > /etc/apt/sources.list << EOSOURCES
 deb http://ftp.zcu.cz/pub/linux/debian bookworm main contrib non-free
 deb http://ftp.zcu.cz/pub/linux/debian bookworm-updates main contrib non-free
@@ -15,6 +17,7 @@ apt install git devscripts build-essential libkrb5-dev apache2-dev dh-apache2 qu
 
 dget https://deb.debian.org/debian/pool/main/liba/libapache-mod-auth-kerb/libapache-mod-auth-kerb_5.4-2.5.dsc
 cd libapache-mod-auth-kerb-5.4
+sed "1 s/)/+deb${VERSION_ID})/" debian/changelog -i
 dpkg-buildpackage -uc -us -b
 
 cd ..