diff --git a/ding-libs.spec b/ding-libs.spec index 1cfe79e..a76d444 100644 --- a/ding-libs.spec +++ b/ding-libs.spec @@ -319,9 +319,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la # We will copy them directly from the source directory # for packaging rm -f \ - $RPM_BUILD_ROOT/usr/share/doc/ding-libs/README.* \ - $RPM_BUILD_ROOT/usr/share/doc/ding-libs/examples/dhash_example.c \ - $RPM_BUILD_ROOT/usr/share/doc/ding-libs/examples/dhash_test.c + $RPM_BUILD_ROOT%{_datadir}/doc/ding-libs/README.* \ + $RPM_BUILD_ROOT%{_datadir}/doc/ding-libs/examples/dhash_example.c \ + $RPM_BUILD_ROOT%{_datadir}/doc/ding-libs/examples/dhash_test.c # Remove document install script. RPM is handling this rm -f */doc/html/installdox