X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-macros.patch;h=263deebe02d8a7d5e0478a5322385535647a8c8c;hb=refs%2Fheads%2Fdb52;hp=e2cc22589784be84b6ab7abc27d9bd6e48f403db;hpb=9983b5703aa52b1df25ae228c0a4f4d1059fe2f5;p=packages%2Frpm.git diff --git a/rpm-macros.patch b/rpm-macros.patch index e2cc225..263deeb 100644 --- a/rpm-macros.patch +++ b/rpm-macros.patch @@ -1,69 +1,22 @@ ---- rpm-3.0.3/configure.in.wiget Thu Sep 30 23:25:29 1999 -+++ rpm-3.0.3/configure.in Fri Oct 29 11:43:58 1999 -@@ -903,7 +903,7 @@ - export LIBS INCPATH CONFIG_SITE - - AC_CONFIG_SUBDIRS(popt) --AC_OUTPUT([Makefile rpmrc macros lib/Makefile -+AC_OUTPUT([Makefile rpmrc macros macros.pld lib/Makefile - build/Makefile tools/Makefile scripts/Makefile - tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile - misc/Makefile po/Makefile.in intl/Makefile ---- rpm-3.0.3/macros.in.wiget Thu Sep 30 01:29:57 1999 -+++ rpm-3.0.3/macros.in Fri Oct 29 11:50:10 1999 -@@ -60,8 +60,8 @@ - %_builddir %{_topdir}/BUILD - %_buildshell /bin/sh - %_bzip2bin @BZIP2BIN@ --%_dbpath %{_var}/lib/rpm --%_defaultdocdir %{_usr}/doc -+%_dbpath %{_var}/state/rpm -+%_defaultdocdir %{_usr}/share/doc - # - %__find_provides @FINDPROVIDES@ - %__find_requires @FINDREQUIRES@ -@@ -70,8 +70,8 @@ - #%__find_obsoletes ??? - # - # XXX fixowner, fixgroup, and fixperms are run at the end of hardcoded setup --%_fixowner [ `%{__id} -u` = '0' ] && %{__chown} -Rhf root --%_fixgroup [ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf @ROOT_GROUP@ -+%_fixowner [ `%{__id} -u` = '0' ] && %{__chown} -Rhf root.@ROOT_GROUP@ -+#%_fixgroup [ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf @ROOT_GROUP@ - %_fixperms %{__chmod} -Rf @FIXPERMS@ +--- rpm-5.4.10/macros/macros.in~ 2012-11-17 00:38:23.000000000 +0200 ++++ rpm-5.4.10/macros/macros.in 2012-11-17 00:38:55.871401871 +0200 +@@ -670,18 +670,7 @@ + # XXX Note: that there cannot be any whitespace within the string "p>q", + # and that both p and q are package names (i.e. no version/release). # - %_gzipbin @GZIPBIN@ -@@ -80,13 +80,13 @@ - %_rpmdir %{_topdir}/RPMS - # - # XXX Note escaped %% for use in headerSprintf --%_rpmfilename %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm -+%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm - %_signature none - %_sourcedir %{_topdir}/SOURCES - %_specdir %{_topdir}/SPECS - %_srcrpmdir %{_topdir}/SRPMS - %_tmppath %{_var}/tmp --%_topdir %{_usrsrc}/redhat -+%_topdir %(echo $HOME)/rpm - # - #============================================================================== - # ---- Optional rpmrc macros. -@@ -160,14 +160,14 @@ - %_sbindir %{_exec_prefix}/sbin - %_libexecdir %{_exec_prefix}/libexec - %_datadir %{_prefix}/share --%_sysconfdir %{_prefix}/etc -+%_sysconfdir /etc - %_sharedstatedir %{_prefix}/com - %_localstatedir %{_prefix}/var - %_libdir %{_exec_prefix}/lib - %_includedir %{_prefix}/include - %_oldincludedir /usr/include --%_infodir %{_prefix}/info --%_mandir %{_prefix}/man -+%_infodir %{_prefix}/share/info -+%_mandir %{_prefix}/share/man +-%_dependency_whiteout_caos_core \ +- perl>perl-Filter \ +- pam>coreutils \ +- pam>initscripts \ +- glibc-common>glibc \ +- glibc>nscd \ +- filesystem>setup +- +-%_dependency_whiteout \ +- %{?_dependency_whiteout_caos_core} \ +- %{?_dependency_whiteout_system} \ +- %{nil} ++%_dependency_whiteout %{nil} - #============================================================================== - # ---- config.guess platform macros. + # + # Default path used for serializing transactions with a fcntl lock.