On Fri, Aug 14, 2009 at 9:00 AM, Michael Mraka<michael.mr...@redhat.com> wrote:
> Fedora Hosted Git Repositories - spacewalk.git/rss log:
> % Add spacewalk-backend Requires on python-pgsql.
> %
> % Add spacewalk-backend Requires on python-pgsql.
> %
> %   • [DH] backend/spacewalk-backend.spec
> %
> % URL: http://git.fedoraproject.org/git/?p=spacewalk.git;a=commitdiff;h=
> % e56e4e9dc2959c28553350533a6b2dcea92a73f7
> % --- a/backend/spacewalk-backend.spec
> % +++ b/backend/spacewalk-backend.spec
> % @@ -17,6 +17,7 @@ Requires: python, rpm-python
> %  # /etc/rhn is provided by spacewalk-proxy-common or by spacewalk-config
> %  Requires: /etc/rhn
> %  Requires: rhnlib >= 1.8
> % +Requires: python-pgsql
> %  BuildRequires: /usr/bin/msgfmt
> %  BuildRequires: /usr/bin/docbook2man
> %  BuildRequires: docbook-utils
>
> This is wrong for 2 reasons:
>
> a) Such dependency should not be in spacewalk-backend but 
> spacewalk-backend-sql
>   package which is "Core functions providing SQL connectivity for the RHN
>   backend modules".
> b) It means you have to install both oracle and postgresql for spacewak now
>   which is weird.
>
> We should rather have meta dependency e.g. spacewalk-backend-db and
> spacewalk-backend-oracle and spacewalk-backend-postgresql packages which both
> provide spacewalk-backend-db and requires appropriate oracle/postgresql stuff.
> So you can install one or another.
>

The meta dependency does sound more reasonable.
How would this affect installation? Seems it won't be just yum install
spacewalk anymore.  Would it be yum install spacewalk
spacewalk-backend-postgresql? or turn into yum install
spacewalk-postgresql and
yum install spacewalk-oracle?

jesus

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to