[Bug 1234210] Review Request: pdf-stapler - tool for manipulating PDF documents from the command line

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

 



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



--- Comment #34 from Ranjan Maitra <itsme_410@xxxxxxxxx> ---
(In reply to Zbigniew Jędrzejewski-Szmek from comment #33)
> Let's finish the review. It's 95% of the way there ;)
> 
> While this review has been in progress, python packaging guidelines have
> changed (See
> https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec_file).
> You should change %build and %install to
> 
> %build
> %py2_build
> 
> %install
> py2_install

Thanks, OK with all, but having trouble with this. How do I add in the
additional arguments?

I used to have the following in the spec file:

%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

How do I replace this with %{py2_install} -- sorry, I tried everything I could
think of, and the page of guidelines is not completely clear.

Thanks again!

-- 
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]