s/\/usr\/man/\%{_mandir}/
s/\/usr\/share\/man/\%{_mandir}/
s/\/usr\/info/\%{_infodir}/
s/\/usr\/share\/info/\%{_infodir}/
Changed files:
wget.spec -> 1.14
rm -rf $RPM_BUILD_ROOT
%post
-/sbin/install-info /usr/share/info/wget.info.gz /etc/info-dir
+/sbin/install-info %{_infodir}/wget.info.gz /etc/info-dir
%postun
if [ "$1" = "0" ]; then
- /sbin/install-info --delete /usr/share/info/wget.info.gz /etc/info-dir
+ /sbin/install-info --delete %{_infodir}/wget.info.gz /etc/info-dir
fi
%files
%lang(pl) /usr/share/locale/pl/LC_MESSAGES/wget.mo
%lang(pt) /usr/share/locale/pt*/LC_MESSAGES/wget.mo
-/usr/share/man/man1/*
-/usr/share/info/wget.info*
+%{_mandir}/man1/*
+%{_infodir}/wget.info*
%verify(not md5 size mtime) %config(noreplace) /etc/wgetrc