]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
change version generate in contorl file
authorBastian Dehn <hhaalo@arcor.de>
Sat, 5 Jul 2025 12:03:50 +0000 (14:03 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 5 Jul 2025 12:03:50 +0000 (14:03 +0200)
build-package
control

index 296001817d8c362d3cc94fc80edf2c5ee7cf562b..64623647cfa36062082cc185693a7f7ccd8f4653 100755 (executable)
@@ -32,6 +32,7 @@ main()
 
        mkdir -p build/$PACKAGENAME/DEBIAN
        cp control build/$PACKAGENAME/DEBIAN/control
+       sed -i "s/\$VERSION/$VERSION/" build/$PACKAGENAME/DEBIAN/control
 
        cd build
 
diff --git a/control b/control
index f476a85b597243b6bfd44900727d48843875df65..803d8e5ccb5c130c5835b0e33b8d1c66add96dfe 100644 (file)
--- a/control
+++ b/control
@@ -1,5 +1,5 @@
 Package: scantopdf
-Version: 1.0.6
+Version: $VERSION
 Architecture: amd64
 Maintainer: Bastian Dehn <hhaalo@arcor.de>
 Depends: sane (>= 1.0.14), qpdf (>= 11.3.0), pdftk (>= 2.02), libtiff-tools (>= 4.5.0), ocrmypdf (>= 14.0.1), tesseract-ocr-deu (>= 4.1.0), zbar-tools (>= 0.23.92), qrencode (>= 4.1.), librsvg2-bin (>= 2.54.7)