1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Summary: x Name: gc_ Version: 1 Release: 1 License: x BuildArch: noarch %description x %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/dir_symlink echo a > $RPM_BUILD_ROOT/etc/dir_symlink/a %clean rm -rf $RPM_BUILD_ROOT %files /etc/dir_symlink/a