diff -r 000000000000 -r 2ba231a7973e tests/zappy2.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/zappy2.spec Thu Jun 07 15:56:09 2018 +0100 @@ -0,0 +1,30 @@ +%define _source_payload w9.gzdio +%define _binary_payload w9.gzdio + +Name: zappy2 +Summary: Test package +Group: Test +License: GPL +Version: 1 +Release: 1 +Source: zappy2.tar +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: /usr +Requires: zap + +%description +Test package + +%prep + +%build + +%install +mkdir -p $RPM_BUILD_ROOT/usr/bin +echo %{name}-%{version}-%{release} > $RPM_BUILD_ROOT/usr/bin/zappy2 + +%clean + +%files +/usr/bin/zappy2