autoconf: Add build and runtime dependencies.

Message ID 20230226090522.87518-1-stefan.schantl@ipfire.org
State Accepted
Commit cbf71b690198c429ccb7ef4807c8e1e8fb935a2d
Headers
Series autoconf: Add build and runtime dependencies. |

Commit Message

Stefan Schantl Feb. 26, 2023, 9:05 a.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 autoconf/autoconf.nm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
  

Patch

diff --git a/autoconf/autoconf.nm b/autoconf/autoconf.nm
index 3acdc127e..3f6bec327 100644
--- a/autoconf/autoconf.nm
+++ b/autoconf/autoconf.nm
@@ -5,7 +5,7 @@ 
 
 name       = autoconf
 version    = 2.71
-release    = 1
+release    = 2
 arch       = noarch
 
 groups     = Development/Tools
@@ -27,13 +27,20 @@  build
 	requires
 		m4
 		perl
+		perl(File::Compare)
+		perl(File::Copy)
 		perl(Data::Dumper)
 	end
 end
 
 packages
 	package %{name}
-		requires = m4
+		requires
+			m4
+
+			# Does not get autodetected correctly
+			perl(File::Compare)
+		end
 
 		filter_requires
 			perl>=[0-9]\:.*