[Bug 497622] Review Request: apbs - adaptive poisson boltzmann solver

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 27 19:16:27 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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





--- Comment #37 from Jussi Lehtola <jussi.lehtola at iki.fi>  2009-07-27 15:16:26 EDT ---
(In reply to comment #36)
> (In reply to comment #33)
> > (In reply to comment #32)
> > > I just removed the %exclude statement and built using F11 (since I won't be
> > > packaging this for F10 anyway).
> > 
> > .. but won't you be building for EPEL, if you need this for pymol?
> > 
> 
> Right... in that case, using rm -f in %install isn't enough -
> brp-python-bytecompile runs after %install, so it just recreates the .pyc/.pyo
> files. The other option is to rename the files so they don't have a .py
> extension, but I'm not sure if that will break other tools. Could I just use a
> different spec file for the F-10 and EPEL branches?

Duh.

Yes, you can use a different spec file, or even better:

%if 0%{?fedora}<11 || 0%{?rhel} == 4 || 0%{?rhel} == 5
%exclude %{_bindir}/*.pyc
%exclude %{_bindir}/*.pyo
%endif

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the package-review mailing list