Fix Provides: unipi-kernel-modules(=VER)
authorMiroslav Ondra <ondra@faster.cz>
Wed, 7 Oct 2020 15:46:20 +0000 (17:46 +0200)
committerMiroslav Ondra <ondra@faster.cz>
Wed, 7 Oct 2020 15:46:20 +0000 (17:46 +0200)
debian/control.g1
debian/rules.arm64

index c397cd8cb4540b62bc39c23da6926975ebb192a4..c1645666d0502fa3b6c36cb9e346c1cbf3e07685 100644 (file)
@@ -2,7 +2,7 @@ Package: g1-unipi-kernel-modules
 Architecture: arm64
 Pre-Depends: unipi-common
 Depends: ${misc:Depends}, g1-kernel-image(=${PKG-KERNEL-VER}), unipi-firmware (>=5.50)
-Provides: unipi-kernel-modules(=${PROJECT_VERSION})
+Provides: unipi-kernel-modules(=${PROJECT-VERSION})
 Replaces: unipi-kernel-modules
 Breaks: unipi-kernel-modules
 Description: UniPi G1 kernel modules
index 80766114e531d6339ec64895c14af9f257d3595a..333c2deca1ff10c45202f827d9e49e9dbcfb7553 100755 (executable)
@@ -47,8 +47,8 @@ override_dh_prep:
        @dh_prep --exclude=unipi-kernel-modules.substvars
        @echo PKG-KERNEL-VER=${PKG_KERNEL_VER} > debian/unipi-kernel-modules.substvars
        @echo PKG-KERNEL-VER=${PKG_KERNEL_VER} > debian/$(PLATFORM)-unipi-kernel-modules.substvars
-       @echo PROJECT_VERSION=${PROJECT_VERSION} >> debian/unipi-kernel-modules.substvars
-       @echo PROJECT_VERSION=${PROJECT_VERSION} >> debian/$(PLATFORM)-unipi-kernel-modules.substvars
+       @echo PROJECT-VERSION=${PROJECT_VERSION} >> debian/unipi-kernel-modules.substvars
+       @echo PROJECT-VERSION=${PROJECT_VERSION} >> debian/$(PLATFORM)-unipi-kernel-modules.substvars
        ( sed 's/)/.${PKG_KERNEL_VER})/;q' debian/changelog; \
          printf "\n  * Compiled for $(PLATFORM)-kernel-image\n";\
          printf "\n -- auto-generator <info@unipi.technology>  %s\n\n" "`date -R`"; \