BZ1022483: don't ship the sourcedir 'examples' symlink.

This commit is contained in:
Josh Stone 2013-10-23 10:27:08 -07:00
parent e29fbabf1e
commit fdee748f59

View File

@ -49,7 +49,7 @@
Name: systemtap Name: systemtap
Version: 2.4 Version: 2.4
Release: 0.173.g2576d05%{?dist} Release: 0.173.g2576d05.1%{?dist}
# for version, see also configure.ac # for version, see also configure.ac
@ -450,6 +450,10 @@ rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name} %find_lang %{name}
# Temporary kludge, don't let the examples symlink collide with the following mv.
# Upstream is renaming the symlink to EXAMPLES, commit c878e1d3.
test -L examples && rm -f examples
# We want the examples in the special doc dir, not the build install dir. # We want the examples in the special doc dir, not the build install dir.
# We build it in place and then move it away so it doesn't get installed # We build it in place and then move it away so it doesn't get installed
# twice. rpm can specify itself where the (versioned) docs go with the # twice. rpm can specify itself where the (versioned) docs go with the
@ -970,6 +974,9 @@ done
# http://sourceware.org/systemtap/wiki/SystemTapReleases # http://sourceware.org/systemtap/wiki/SystemTapReleases
%changelog %changelog
* Wed Oct 23 2013 Josh Stone <jistone@redhat.com> - 2.4-0.173.g2576d05.1
- BZ1022483: don't ship the sourcedir 'examples' symlink.
* Mon Oct 21 2013 Lukas Berk <lberk@redhat.com> - 2.4-0.173.g2576d05 * Mon Oct 21 2013 Lukas Berk <lberk@redhat.com> - 2.4-0.173.g2576d05
- Automated weekly rawhide release - Automated weekly rawhide release
- Applied spec changes from upstream git - Applied spec changes from upstream git