I would like, for academic purposes to have my RPM install another RPM as a dependency, but I cannot figure out what Tag to use in my spec file.
Can someone please provide me the appropriate syntax or the website that defines this succinctly? I don't know what search terms to put into Google, nothing has worked for me.
As a pre-empt, I tried both the BuildRequires and also the Requires tags to no avail.
This is the entirety of my SPEC file so far that has worked completely, other than the RPM dependency:
Code: Select all
Name: wsf
Version: 1.0
Release: 0
Summary: Another testrun on learning to develop an rpm; named wsf-1.0.x86_64.rpm.
Group: Applications
License: GPLv2+
URL: http://rpm-files.french-family.com/wsf
Source0: wsf-1.0.tar.gz
BuildArch: x86_64
BuildRoot: %{_tmppath}/%{name}-buildroot
%description
A simple RPM Build exercise.
Requires: procmail
%prep
%setup -q
%install
mkdir -p "$RPM_BUILD_ROOT"
cp -R * "$RPM_BUILD_ROOT"
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
/tmp/wsf-tmp.txt
/usr/bin/wsf-bin.tmp
%changelog
* Sat Jan 06 2018 Warron French <warron.french@gmail.com> - 1.0
- Created initial package.