summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/files.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/files.c b/build/files.c
index c4d54fc88..6f2cc7d98 100644
--- a/build/files.c
+++ b/build/files.c
@@ -2307,9 +2307,6 @@ static void addDebuginfoPackage(rpmSpec spec, Package pkg, char *buildroot)
if (access (tmp, F_OK) != 0)
continue;
- /* Add security manifest to set right SMACK labels */
- argvAdd(&files, "%manifest %{name}-debuginfo.manifest");
-
/* Append the file list preamble. */
if (!files)
{
@@ -2352,6 +2349,9 @@ static void addDebuginfoPackage(rpmSpec spec, Package pkg, char *buildroot)
new debuginfo package. */
if (files)
{
+ /* Add security manifest to set right SMACK labels */
+ argvAdd(&files, "%manifest %{name}-debuginfo.manifest");
+
dbg = newPackage (spec);
headerNVR (pkg->header, &name, NULL, NULL);
/* Set name, summary and group. */