-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Started building on 10.1 RC1 and I noticed two things:
1) there's a bug in the %suse_update_desktop_file macro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(in the /usr/lib/rpm/suse_macros file)
I always use that macro like this:
%suse_update_desktop_file -r "%{name}" Foo Bar
The -r flag overwrites categories that already exist in the .desktop
file (without -r, it just appends to the existing).
That doesn't work on 10.1, the bug + workaround is described here:
https://bugzilla.novell.com/show_bug.cgi?id=166170
Workaround: edit /usr/lib/rpm/suse_macros and change line 48:
%suse_update_desktop_file() \
into this:
%suse_update_desktop_file(cinrud) \
2) all your spec files that build using python setuptools are hosed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The default prefix for builds with Python setuptools (setup.py) is now
/usr/local instead of /usr
So you need to change the
%__python ./setup.py install --root="%{buildroot}"
line into this:
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}"
Then it works as expected.
I wanted to file a bug for this one as well, but I've been told it's
explicitely wanted that way.
Could someone @SUSE comment on this one ? Adrian ?
Is it a bug or is it intended ?
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\