From b72ee5ff74022bff8a416922c535e6f132db17f5 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 18 Jan 2021 17:14:10 +0100 Subject: OBS: use _sourcedir to write rpmlintrc Change-Id: I16e1b3fe297ab516ceff4742ff39633480f3720e --- scripts/common-obs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/common-obs.sh') diff --git a/scripts/common-obs.sh b/scripts/common-obs.sh index ace0e81..366d72e 100644 --- a/scripts/common-obs.sh +++ b/scripts/common-obs.sh @@ -85,7 +85,7 @@ osmo_obs_add_depend_rpm() { # Instead of writing to the SOURCES dir, we could upload osmocom-rpmlintrc as # additional source for each package. But that's way more effort, not worth it. echo "setBadness('shlib-fixed-dependency', 0)" \\ - > /home/abuild/rpmbuild/SOURCES/osmocom-rpmlintrc + > "%{_sourcedir}/osmocom-rpmlintrc" EOF fi -- cgit v1.2.3