What does “%global __requires_exclude” do in the gramps spec file? It seems it removes some dependencies but where are they defined in the first place? In a never version, for example, another requirement has to be removed… Is there a documentation for this?
On Mon 23 Jun 2014 06:46:05 AM CDT, sebschub wrote:
What does “%global __requires_exclude” do in the ‘gramps spec file’
(http://tinyurl.com/lwvdfmc)? It seems it removes some dependencies but
lwvdfmc →
https://build.opensuse.org/package/view_file/home:ecsos/gramps/gramps.spec?expand=1
where are they defined in the first place? In ‘a never
version’ (http://tinyurl.com/m9cl6by), for example, another requirement
has to be m9cl6by →
https://build.opensuse.org/package/view_file/home:ecsos/gramps/gramps.spec?expand=1
removed… Is there a documentation for this?
Hi
With the typlelib split from the main packages it will exclude those
during the rpm build/checks at the end of the build process where
rpmbuild checks for requires, supplements, conflicts etc.
In the build log file, look just before;
.... checking for files with abuild user/group
.... running 00-check-install-rpms
..... installing all built rpms
Preparing packages...
Basically it overrides those typelibs from the requires (as in need
to be installed) when a user installs the rpm, in your example the
main packages are needed, by the typlibs are not, so installing them
is just wasted space.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Thanks! How are these additional required typelibs determined? For example, the typelib(GLib) was not present in older versions of gramps, at least I suppose that. Now, typelib(GLib) is not provided by any openSUSE package so this requirement raised an error during installation with the new version. Older versions installed just fine.
On Mon 23 Jun 2014 12:16:01 PM CDT, sebschub wrote:
malcolmlewis;2650314 Wrote:
> Hi
> Basically it overrides those typelibs from the requires (as in need
> to be installed) when a user installs the rpm, in your example the
> main packages are needed, by the typlibs are not, so installing them
> is just wasted space.
Thanks! How are these additional required typelibs determined? For
example, the typelib(GLib) was not present in older versions of gramps,
at least I suppose that. Now, typelib(GLib) is not provided by any
openSUSE package so this requirement raised an error during installation
with the new version. Older versions installed just fine.
Hi
AFAIK there is no typelib (introspection bindings) package for Glib
as it’s part of the girepository-1_0 package. But 'm guessing the way
it builds it’s looking for the typelib and name, hence the exclusion.
You only come across this type of situation when the build checks
occur. I came across it awhile back with the kazam package when i built
it.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-11-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!