ugrep: update to 7.0.3.
[void-pkg.git] / srcpkgs / i2c-tools / patches / py-smbus_fix-destdir.patch
blobf61e4122cd6221fdf9de275d4b0b4ab2cdfefe32
1 I had to add '--root' to the patch for it to not poison the masterdir.
2 That part will still be needed as a patch when the next version gets released.
3 -- 0x5c
4 original message below
6 From a4609318b6fa594f970673d77397f1ca74b4120a Mon Sep 17 00:00:00 2001
7 From: Morten Linderud <morten@linderud.pw>
8 Date: Mon, 4 Oct 2021 20:01:53 +0200
9 Subject: py-smbus/Module.mk: Install with PREFIX defined
11 If we are building to a defined destdir py-smbus is going to ignore this
12 and try install to the actual root. This breaks packaging setups as the
13 install section would fail.
15 Signed-off-by: Morten Linderud <morten@linderud.pw>
16 Signed-off-by: Jean Delvare <jdelvare@suse.de>
17 ---
18 py-smbus/Module.mk | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/py-smbus/Module.mk b/py-smbus/Module.mk
22 index 04ceb64..1e2ded1 100644
23 --- a/py-smbus/Module.mk
24 +++ b/py-smbus/Module.mk
25 @@ -22,7 +22,7 @@ clean-python:
26 rm -rf py-smbus/build
28 install-python:
29 - $(DISTUTILS) install
30 + $(DISTUTILS) install --prefix="$(PREFIX)" --root="$(DESTDIR)"
32 all: all-python
34 --
35 cgit 1.2.3-1.el7