tests/zap.spec
changeset 52 ac72889393d1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/zap.spec	Tue Jun 28 19:14:22 2016 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +%define _source_payload w9.gzdio
     1.5 +%define _binary_payload w9.gzdio
     1.6 +
     1.7 +Name:      zap
     1.8 +Summary:   Test package
     1.9 +Group:     Test
    1.10 +License:   GPL
    1.11 +Version:   1
    1.12 +Release:   1
    1.13 +Source:    zap.tar
    1.14 +BuildArch: noarch
    1.15 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    1.16 +Prefix:    /usr
    1.17 +
    1.18 +%description
    1.19 +Test package
    1.20 +
    1.21 +%prep
    1.22 +
    1.23 +%build
    1.24 +
    1.25 +%install
    1.26 +mkdir -p $RPM_BUILD_ROOT/usr/bin
    1.27 +touch $RPM_BUILD_ROOT/usr/bin/zap
    1.28 +
    1.29 +%clean
    1.30 +
    1.31 +%files
    1.32 +/usr/bin/zap