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}}