Adrian Schröter wrote:

> > > > AFAIK, with exception of Requires auto-editing and adding of %
> > > > debug_package, everything else is already supported outside spec files
> > > > in the BS config, so I plan to drop these functions soon and keep only
> > > > Requires editing.
> > >
> > > JFYI, the old package name should remain to work to avoid %if deserts in
> > > spec files.
> >
> > It fixes only half of my problem - if package requires old name, but
> > there is only new one. It does not fix the case, it package requires new
> > name.
> >
> > If I mirror only part of packages from Factory to GNOME:UNSTABLE BS, I
> > have no package providing libopenssl-devel. It can be fixed in
> > BuildRequires by BS config, but it cannot be fixed in Requires - nothing
> > in OpenSUSE 10.2 provides libopenssl-devel.
> 
> right, did you tried to change the config as Andreas describe you before ?

Just did it.
(It would be definitely nice to have _config editing in osc.)

Prefer works, but Substitute does not:

GNOME:UNSTABLE for openSUSE_10.2:

ekiga: Nothing provides libexpat-devel needed by pwlib-devel

ekiga and pwlib-devel are parts of GNOME:UNSTABLE, expat and libexpat-devel are 
not.

I am not sure, where is the problem:

osc buildconfig openSUSE_10.2 x86_64
...
### from openSUSE:10.2
...
Ignore: ...expat...
...
### from GNOME:UNSTABLE
...
%if %suse_version <= 1020
...
Substitute: libexpat-devel expat
...
%endif

And a question:
Will resulting SRPM work for "rpmbuild --rebuild" outside BS in native
installation of GNOME:UNSTABLE/openSUSE:10.2 without --nodeps?

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: [EMAIL PROTECTED]
Lihovarská 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                                http://www.suse.cz/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to