Mailinglist Archive: opensuse-gnome (17 mails)
| < Previous | Next > |
[opensuse-gnome] New GConf2 RPM macros for older products in GNOME:Community
- From: James Ogley <james@xxxxxxxxxxxxxxxxx>
- Date: Sat, 09 Jun 2007 12:01:35 +0100
- Message-id: <1181386895.26365.13.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
As the subject says, I've added a package that adds the new RPM macros
that Stanislav has created for 10.3+ to GNOME:Community. This provides
the same macros for 10.2 and older.
Simply add this to your spec file and you can use roughly the same spec
file across the versions:
%if %suse_version <= 1020
BuildRequires gconf2-rpm-macros
%endif
If you include this within the %if statement then the spec file will
normally be exactly the same throughout with no more %suse_version
checks required
%define _prefix /opt/gnome
%define _sysconfdir /etc%_prefix
Of course, there will be some exceptions to that but not many :)
--
James Ogley
james@xxxxxxxxxxxxxxxxx http://usr-local-bin.org
GNOME for openSUSE: http://software.opensuse.org/download/GNOME:/
Help end poverty: http://oxfam.org.uk/in
--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx
that Stanislav has created for 10.3+ to GNOME:Community. This provides
the same macros for 10.2 and older.
Simply add this to your spec file and you can use roughly the same spec
file across the versions:
%if %suse_version <= 1020
BuildRequires gconf2-rpm-macros
%endif
If you include this within the %if statement then the spec file will
normally be exactly the same throughout with no more %suse_version
checks required
%define _prefix /opt/gnome
%define _sysconfdir /etc%_prefix
Of course, there will be some exceptions to that but not many :)
--
James Ogley
james@xxxxxxxxxxxxxxxxx http://usr-local-bin.org
GNOME for openSUSE: http://software.opensuse.org/download/GNOME:/
Help end poverty: http://oxfam.org.uk/in
--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx
| < Previous | Next > |