aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-01-18 17:14:10 +0100
committerOliver Smith <osmith@sysmocom.de>2021-01-18 17:14:10 +0100
commitb72ee5ff74022bff8a416922c535e6f132db17f5 (patch)
treee01cbc32ff3808b4a6e26b0ae0ca3a65ec5ec32e
parent577e84350d804316aae628fd951049fc4e41d0b3 (diff)
OBS: use _sourcedir to write rpmlintrc
-rw-r--r--scripts/common-obs.sh2
1 files changed, 1 insertions, 1 deletions
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