I've updated gconf2-rpm-macros in GNOME:Community in preparation for adding a new target repository, openSUSE_10.2+GNOME_STABLE. The update tests the %suse_version macro and %_repository to determine whether the package needs to be populated. If it doesn't, a dummy package is generated which makes life easier for maintainers of packages which have it in their BuildRequires lines.
This is how it's done: The contents of both %install and %files are wrapped in the following:
%if %suse_version < 1030
%if "%_repository" != "openSUSE_10.2+GNOME_STABLE"
Section content goes here
%endif
%endif
Obviously, if we a 10.2 and GNOME:UNSTABLE repository, an extra layer of %if can be added.
![[RSS 2.0]](/images/png/rss20.png)
![[RSS 0.91]](/images/png/rss091.png)
![[Blosxom Powered]](/images/png/blosxom.png)
![[Bursledon Parish]](/images/png/bursledon.png)
![[Use openSUSE]](/images/png/opensuse-green.png)
![[Get Firefox]](/images/png/firefox.png)
![[Lib Dems]](/images/png/button_libdems.png)