redhat-rpm-config/redhat-rpm-config-9.1.0-use-prefix-macro.patch
Toshio Kuratomi 94c3f755ba Add patch from https://bugzilla.redhat.com/show_bug.cgi?id=783433
to fix spaces in files and directories that are fed to the
  brp-python-hardlink script
- Require zip since java repack jars requires it
  https://bugzilla.redhat.com/show_bug.cgi?id=857479
- Java jars need the MANIFEST.MF file to be first in the archive
  https://bugzilla.redhat.com/show_bug.cgi?id=465664
- Fix kernel_source macro to match the directory that kernel sources are installed in
  https://bugzilla.redhat.com/show_bug.cgi?id=648996
- Patch _mandir, _infodir, and _defaultocdir to use _prefix
  https://bugzilla.redhat.com/show_bug.cgi?id=853216
2012-10-03 17:30:10 -07:00

19 lines
501 B
Diff

Index: redhat-rpm-config-9.1.0/macros
===================================================================
--- redhat-rpm-config-9.1.0.orig/macros
+++ redhat-rpm-config-9.1.0/macros
@@ -14,10 +14,10 @@
%_prefix /usr
%_sysconfdir /etc
%_localstatedir /var
-%_infodir /usr/share/info
-%_mandir /usr/share/man
+%_infodir %{_prefix}/share/info
+%_mandir %{_prefix}/share/man
-%_defaultdocdir %{_usr}/share/doc
+%_defaultdocdir %{_prefix}/share/doc
%_fmoddir %{_libdir}/gfortran/modules