From c5f47999ec0d940d2339a9c46464b69e514b774d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Henrique=20Ferreira=20de=20Freitas?= Date: Tue, 11 Apr 2017 13:47:20 -0300 Subject: [PATCH] Add rpm_depends --- README.org | 2 ++ priv/templates/rpm/specfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.org b/README.org index 8ffab3a..a0abadc 100644 --- a/README.org +++ b/README.org @@ -75,6 +75,8 @@ The following variables describe a package and should be put in the this variable - =deb_depends= - Dependencies you require on deb sytems. This should be a comma separated list. + - =rpm_depends= - Dependencies you require on rpm systems. This should be a + comma separated list. - =package_desc= - A long description of the package - =solaris_depends= - (not supported yet) Dependencies specific to the solaris package diff --git a/priv/templates/rpm/specfile b/priv/templates/rpm/specfile index 4acc798..260a013 100644 --- a/priv/templates/rpm/specfile +++ b/priv/templates/rpm/specfile @@ -31,6 +31,8 @@ BuildRoot: %{_tmppath}/%{name}-%{_revision}-%{release}-root Summary: {{package_shortdesc}} Obsoletes: {{package_name}} +Requires: {{rpm_depends}} + %description {{package_desc}}