]> git.proxmox.com Git - proxmox-perl-rs.git/commitdiff
pmg: upgrade perlmod-bin dependency to 0.2
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 18 Dec 2023 09:22:05 +0000 (10:22 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 18 Dec 2023 09:22:18 +0000 (10:22 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
pmg-rs/Makefile
pmg-rs/debian/control

index b234cfd802d45595dcd74c97a5267b2f13d01c1b..b04f25081d482dd3448ead2f3bbf90b4687522a6 100644 (file)
@@ -22,7 +22,8 @@ PERLMOD_GENPACKAGE := /usr/lib/perlmod/genpackage.pl \
        --lib=pmg_rs \
        --lib-tag=proxmox \
        --lib-package=Proxmox::Lib::PMG \
-       --lib-prefix=PMG
+       --lib-prefix=PMG \
+       --include-file=Fixup.pm
 
 PERLMOD_PACKAGES := \
          PMG::RS::APT::Repositories \
@@ -44,7 +45,6 @@ all: PMG
 Proxmox PMG: Proxmox/Lib/PMG.pm
 Proxmox/Lib/PMG.pm: Fixup.pm
        $(PERLMOD_GENPACKAGE) $(PERLMOD_PACKAGES)
-       sed -i -e '/package Proxmox/rFixup.pm' Proxmox/Lib/PMG.pm
 
 .PHONY: install
 install: target/release/libpmg_rs.so Proxmox/Lib/PMG.pm PMG
index 6d9628b64101fa3208246bbe004c352997013e83..6ea978b51fb0b5de6324217a57cebaa29238f0bf 100644 (file)
@@ -32,7 +32,7 @@ Build-Depends: cargo:native <!nocheck>,
                librust-serde-json-1+default-dev,
                librust-url-2+default-dev,
                libstd-rust-dev <!nocheck>,
-               perlmod-bin,
+               perlmod-bin (>= 0.2.0-~~),
                rustc:native <!nocheck>,
 Maintainer: Proxmox Support Team <support@proxmox.com>
 Standards-Version: 4.6.1