Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7446 - /trunk/sat-solver/tools/source_susetags.c
  • From: mlschroe@xxxxxxxxxxxxxxxx
  • Date: Fri, 05 Oct 2007 17:24:41 -0000
  • Message-id: <20071005172441.F22372FD0F@xxxxxxxxxxxxxxxx>
Author: mlschroe
Date: Fri Oct  5 19:24:41 2007
New Revision: 7446

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7446&view=rev
Log:
do not add self-provides to src rpms

Modified:
    trunk/sat-solver/tools/source_susetags.c

Modified: trunk/sat-solver/tools/source_susetags.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/source_susetags.c?rev=7446&r1=7445&r2=7446&view=diff
==============================================================================
--- trunk/sat-solver/tools/source_susetags.c (original)
+++ trunk/sat-solver/tools/source_susetags.c Fri Oct  5 19:24:41 2007
@@ -222,7 +222,7 @@
        continue;
       if (!strncmp(line, "=Pkg:", 5) || !strncmp(line, "=Pat:", 5))
        {
-         if (dp)
+         if (dp && s->arch != ARCH_SRC && s->arch != ARCH_NOSRC)
            dp->provides = source_addid_dep(source, dp->provides, rel2id(pool, s->name, s->evr, REL_EQ, 1), 0);
          pd.kind = 0;
          if (line[3] == 't')

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages