On Wed, 2017-01-11 at 10:37 +0100, Igor Gnatenko wrote:
> On Wed, Jan 11, 2017 at 12:46 AM, Adam Williamson
> <adamw...@fedoraproject.org> wrote:
> > On Fri, 2016-09-02 at 12:44 +0200, Kalev Lember wrote:
> > > On 08/31/2016 02:10 PM, Charalampos Stratakis wrote:
> > > > Hello all,
> > > > 
> > > > While checking out the SPEC file of python, it seems there were some 
> > > > packages that, while separate at some point, they got included in 
> > > > python's stdlib and then obsoleted as standalone packages (thus to cope 
> > > > with the change, python was obsoleting these packages and providing 
> > > > them as well in the SPEC). So every package that currently 
> > > > (Build)Requires any of these packages will essentially drag python with 
> > > > it.
> > > > 
> > > > I will remove these provides soon, since the packages were orphaned 
> > > > long time ago, but the packages that still require them, will need to 
> > > > be fixed and (Build)Require python instead.
> > > 
> > > My suggestion would be to request provenpackager access and just fix all
> > > those packages yourself in rawhide. If you file bugs, these are probably
> > > going to take quite a bit of time to get fixed and you won't be able to
> > > drop the compatibility provides for several Fedora releases.
> > 
> > Please be careful with such 'fixes'. Some specs are also built for EPEL
> > 6; in EPEL 6, some of these (e.g. python-argparse) are still separate
> > packages.
> > 
> > I kind of agree with Neal / Kevin that removing these is pointless and
> > unnecessary. Now I will have to conditionalize my affected specs
> > somehow in order to keep using them to do builds both for EPEL 6 (where
> >  I *must* include Requires: python-argparse) and Rawhide (where I now
> > *cannot* include Requires: python-argparse)...which is a pain.
> 
> Python stack is derived too much from EL to Fedora. Just maintain 2
> different specs. Even EL7 is always painful since you have to do
> %if 0%{?rhel} && 0%{?rhel} <= 7
> BuildRequires: python-setuptools
> %else
> BuildRequires: python2-setuptools
> %endif

Um. No you don't. Just make it unconditionally `python-setuptools`. All
branches provide that.

No, I'm not maintaining two separate specs. That's far more work than
conditionalizing one spec. There's one package where I have to do it,
and I hate it.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to