Go to file
Miro Hrončok 914d8b9212 Drop the %{py3dir} pattern
%{py3dir} is outside of the expected build directory,
causing this error when only building for Python 3:

    Empty %files file /builddir/build/BUILD/pyparted-3.11.2/debugsourcefiles.list

That's because the mechanism that looks for sources checks all the compiled
files in the build directory and because they are all outside, it fails.
This hasn't happened with the python2 subpackage, because it found the
compiled python2 files.

Note that %{py3dir} was part of the Python guidelines early in the Python 3
adoption in Fedora, long before we've introduced the debugsource packages.

Instead, we create a directory called "py3dir" in the build directory.
There are other solutions possible, but this is the least intrusive in this case.
2019-10-20 22:24:31 +02:00
tests Modify the test run line in tests.yml 2018-12-19 10:34:21 -05:00
.gitignore pyparted-3.11.2 (dcantrell) 2019-02-01 13:55:01 -05:00
gating.yaml gating.yml -> gating.yaml 2019-01-23 16:04:23 -05:00
pyparted.spec Drop the %{py3dir} pattern 2019-10-20 22:24:31 +02:00
sources pyparted-3.11.2 (dcantrell) 2019-02-01 13:55:01 -05:00