[Bug 1275057] Review Request: python-appstream - Parse AppStream files when you don't have libappstream-glib

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

 



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



--- Comment #7 from William Moreno <williamjmorenor@xxxxxxxxx> ---
This package it is only for epel6? Or you are goint to build for Fedora and
Epel7?

It may be usefull in Fedora, but Python Packaging Guidelines for Fedora have
changed a lot from epel6.

If you are to build for Fedora at less consider:

1- Use the $%license macro and define it in %%files for epel6 with:
%{!?_licensedir:%global license %%doc}
%license LICENSE

2- Use a %if 0%{?fedora} conditional to build a python2-appstream and use the
python-provides macro.

3- In %%files use a %if 0%{?rhel} && 0%{?rhel} <= 6 to create the
python-appstream rpm and use a %if 0%{?fedora} to create the python2-appstream
rpm.

In the other hand this spec build fine in epel6 but fails in the others build.

http://copr.fedoraproject.org/coprs/williamjmorenor/fedora-review-test/build/131404/

-- 
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
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]