1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Summary: x Name: h Version: 1 Release: 1 License: x BuildArch: noarch %description x %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/share/man echo h > $RPM_BUILD_ROOT/usr/share/man/foo %clean rm -rf $RPM_BUILD_ROOT %files /usr/share/man/foo*