OBS: use _sourcedir to write rpmlintrc

Change-Id: I16e1b3fe297ab516ceff4742ff39633480f3720e
This commit is contained in:
Oliver Smith 2021-01-18 17:14:10 +01:00
parent 577e84350d
commit b72ee5ff74
1 changed files with 1 additions and 1 deletions

View File

@ -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