https://bugzilla.redhat.com/show_bug.cgi?id=1426465

Eric Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #5 from Eric Smith <[email protected]> ---
When I build from the spec on Fedora 25 locally (not using mock or koji), I get
what looks like a mostly successful build, but then a packaging fail:

Processing files: python3-iio-0.9-1.fc25.noarch
error: File not found:
/home/eric/rpmbuild/BUILDROOT/libiio-0.9-1.fc25.x86_64/usr/lib/python3.5/site-packages/*

Looking inside the buildroot, I find no usr/lib/python3.5 directory, but there
is a usr/lib/python2.7 directory, so somehow things are being built for the
wrong Python.  (Might be nice to build for both, if libiio can support both,
but I'd personally be satisfied with just Python 3.x.)

I don't understand CMake, so I unfortunately don't have the first clue as to
how to fix this.

By the way, when writing RPM spec Source lines using github, it's possible to
get better filenames for the tarballs. Instead of:

Source0:      
https://github.com/analogdevicesinc/libiio/archive/v%{version}.tar.gz

You can use:

Source0:      
https://github.com/analogdevicesinc/libiio/archive/v%{version}/%{name}-%{version}.tar.gz

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to