[Bug 1449882] Review Request: python-lcm2 - Simplified Python binding to LittleCMS2 library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #8 from Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> ---
(In reply to Charalampos Stratakis from comment #7)
> The location of _lcms2.so which should be imported, when looking inside the
> mock chroot is at:
> /builddir/build/BUILDROOT/python-lcms2-0.1-2.fc27.x86_64/usr/lib64/python2.7/
> site-packages/lcms2
> 
> So in this case right after %check you will need to add. 
> export PYTHONPATH=%{buildroot}%{python2_sitearch}

Thanks you for the details. That was the missing piece of puzzle needed to
successfully build the package. Here is the updated specs:

Here is the updated specs
Spec URL: https://luya.fedorapeople.org/packages/SPECS/python-lcms2.spec
SRPM URL:
https://luya.fedorapeople.org/packages/SRPMS/python-lcms2-0.1-3.fc25.src.rpm

Scratch build result:
https://koji.fedoraproject.org/koji/taskinfo?taskID=19511736

Valid local rpmlint result:
$ rpmlint rpmbuild/RPMS/x86_64/python2-lcms2-0.1-3.fc25.x86_64.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

rpmlint result from scratch build:
$ rpmlint python2-lcms2-0.1-3.fc27.x86_64.rpm 
python2-lcms2.x86_64: W: hidden-file-or-dir /usr/lib/.build-id
python2-lcms2.x86_64: W: hidden-file-or-dir /usr/lib/.build-id
1 packages and 0 specfiles checked; 0 errors, 2 warnings.


The warning message is a bug from rpmlint itself:
https://bugzilla.redhat.com/show_bug.cgi?id=1431408

-- 
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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux