teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame 0001-metainfo.attr-Fix-execution-of-the-generator.patch

Panu Matilainen b9a32b
From 2ac60753c90ba4579b13425064e3df3d1421d61e Mon Sep 17 00:00:00 2001
Panu Matilainen b9a32b
Message-Id: <2ac60753c90ba4579b13425064e3df3d1421d61e.1591606680.git.pmatilai@redhat.com>
Panu Matilainen b9a32b
From: Igor Raits <i.gnatenko.brain@gmail.com>
Panu Matilainen b9a32b
Date: Sun, 7 Jun 2020 14:31:19 +0200
Panu Matilainen b9a32b
Subject: [PATCH] metainfo.attr: Fix execution of the generator
Panu Matilainen b9a32b
Panu Matilainen b9a32b
Somehow it wasn't noticed before.
Panu Matilainen b9a32b
Panu Matilainen b9a32b
Fixes: 9464926456125dacb8046767f1fe4235471986e9
Panu Matilainen b9a32b
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
Panu Matilainen b9a32b
---
Panu Matilainen b9a32b
 fileattrs/metainfo.attr | 2 +-
Panu Matilainen b9a32b
 1 file changed, 1 insertion(+), 1 deletion(-)
Panu Matilainen b9a32b
Panu Matilainen b9a32b
diff --git a/fileattrs/metainfo.attr b/fileattrs/metainfo.attr
Panu Matilainen b9a32b
index 1a2c3d544..d0819dabe 100644
Panu Matilainen b9a32b
--- a/fileattrs/metainfo.attr
Panu Matilainen b9a32b
+++ b/fileattrs/metainfo.attr
Panu Matilainen b9a32b
@@ -1,4 +1,4 @@
Panu Matilainen b9a32b
-%__metainfo_provides %{lua:
Panu Matilainen b9a32b
+%__metainfo_provides() %{lua:
Panu Matilainen b9a32b
   print("metainfo()\\n")
Panu Matilainen b9a32b
   print(string.format("metainfo(%s)\\n", rpm.expand("%{basename:%1}")))
Panu Matilainen b9a32b
 }
Panu Matilainen b9a32b
-- 
Panu Matilainen b9a32b
2.26.2
Panu Matilainen b9a32b