diff --git a/pmg-rs/Makefile b/pmg-rs/Makefile index b234cfd..b04f250 100644 --- a/pmg-rs/Makefile +++ b/pmg-rs/Makefile @@ -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 diff --git a/pmg-rs/debian/control b/pmg-rs/debian/control index 6d9628b..6ea978b 100644 --- a/pmg-rs/debian/control +++ b/pmg-rs/debian/control @@ -32,7 +32,7 @@ Build-Depends: cargo:native , librust-serde-json-1+default-dev, librust-url-2+default-dev, libstd-rust-dev , - perlmod-bin, + perlmod-bin (>= 0.2.0-~~), rustc:native , Maintainer: Proxmox Support Team Standards-Version: 4.6.1