summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-11 13:50:20 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-11 13:50:20 +0200
commit6d1cb6a9da1bf92bac9b630a12df7b9aaafaa2cc (patch)
treeb35b55d5146ebcbf0a71de991b4f62a73bdf1211 /build
parentf407b391c0df60186c301a255448eae89404d05e (diff)
downloadrpm-6d1cb6a9da1bf92bac9b630a12df7b9aaafaa2cc.tar.gz
rpm-6d1cb6a9da1bf92bac9b630a12df7b9aaafaa2cc.tar.bz2
rpm-6d1cb6a9da1bf92bac9b630a12df7b9aaafaa2cc.zip
Silly thinko/typo causing source rpms to provide their nvr..
Diffstat (limited to 'build')
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index 5a616baba..761f871e3 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -366,7 +366,7 @@ rpmRC writeRPM(Header *hdrp, unsigned char ** pkgidp, const char *fileName,
/* Binary packages now have explicit Provides: name = version-release. */
isSource = headerIsSource(h);
- if (isSource)
+ if (!isSource)
providePackageNVR(h);
/* Save payload information */