diff -r 000000000000 -r 0e1a57225c62 tests/zappy.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/zappy.spec Mon Jul 13 13:19:03 2020 +0100 @@ -0,0 +1,40 @@ +%define _source_payload w9.gzdio +%define _binary_payload w9.gzdio + +Name: zappy +Summary: Test package +Group: Test +License: GPL +Version: 1 +Release: 1 +Source: zappy.tar +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: /usr +Requires: zap + +%description +Test package + +%package tools +Summary: Tools for using zappy +Group: Test +Requires: zappy + +%description tools +Test package + +%prep + +%build + +%install +mkdir -p $RPM_BUILD_ROOT/usr/bin +echo %{name}-%{version}-%{release} > $RPM_BUILD_ROOT/usr/bin/zappy + +%clean + +%files +/usr/bin/zappy + +%files tools