s/\/usr\/man/\%{_mandir}/
s/\/usr\/share\/man/\%{_mandir}/
s/\/usr\/info/\%{_infodir}/
s/\/usr\/share\/info/\%{_infodir}/
Changed files:
libjpeg.spec -> 1.9
strip $RPM_BUILD_ROOT/usr/{lib/lib*so.*.*,/bin/*}
-gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/* \
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
{libjpeg,structure}.doc
%post -p /sbin/ldconfig
%files progs
%defattr(644, root, root, 755)
%attr(755,root,root) /usr/bin/*
-/usr/man/man1/*
+%{_mandir}/man1/*
%files static
%defattr(644, root, root, 755)