[Bug 1373821] Review Request: python-pulp - LP modeler written in python

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

 



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

Marcos <lobo@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(ignatenko@redhat.
                   |                            |com)



--- Comment #7 from Marcos <lobo@xxxxxxxxx> ---
Hi Igor,

I tried to build the rpm with your modifications
https://github.com/marcosflobo/package_review/commit/45674935dd077a3f14af6875babb0cd50f90a7d0
but unfortunately I had this error:

"Arch dependent binaries in noarch package"

I tried to fix it adding:

%define _binaries_in_noarch_packages_terminate_build   0

At top of the SPEC file, but apparently is not enough.

So, with this SPEC file
https://github.com/marcosflobo/package_review/blob/master/pulp/1.6.1/python-pulp.spec
and this ZIP file https://pypi.python.org/pypi/PuLP I have this issues:

$  rpmbuild -bb --define dist.fc24 rpmbuild/SPEC/python-pulp.spec
[...]
 cd PuLP-1.6.1
+
LICENSEDIR=/home/mflobo/rpmbuild/BUILDROOT/python-PuLP-1.6.1-1.fc24.x86_64/usr/share/licenses/python3-PuLP
+ export LICENSEDIR
+ /usr/bin/mkdir -p
/home/mflobo/rpmbuild/BUILDROOT/python-PuLP-1.6.1-1.fc24.x86_64/usr/share/licenses/python3-PuLP
+ cp -pr LICENSE
/home/mflobo/rpmbuild/BUILDROOT/python-PuLP-1.6.1-1.fc24.x86_64/usr/share/licenses/python3-PuLP
+ exit 0


RPM build errors:
    Macro %dist needs whitespace before body
    Macro %dist needs whitespace before body
    Macro %dist needs whitespace before body
    Arch dependent binaries in noarch package
    File not found:
/home/mflobo/rpmbuild/BUILDROOT/python-PuLP-1.6.1-1.fc24.x86_64/usr/bin/pulp

Could you give a hand on with this package? is being a bit painful and I don't
understand the issue.

Thank you.

-- 
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 Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]