summaryrefslogtreecommitdiff
path: root/platform.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-02-25 16:29:44 +0000
committerjbj <devnull@localhost>2000-02-25 16:29:44 +0000
commit601d666d4825619b9ecd12b839efbe6b0ebe4516 (patch)
tree949fbafa403998c2bf5065a9081828dc8adaab4f /platform.in
parent18edb9da1a3b658208492fb9934c1a82a639014b (diff)
downloadrpm-601d666d4825619b9ecd12b839efbe6b0ebe4516.tar.gz
rpm-601d666d4825619b9ecd12b839efbe6b0ebe4516.tar.bz2
rpm-601d666d4825619b9ecd12b839efbe6b0ebe4516.zip
- fix: filter excluded paths before adding install prefixes (#8709).
- add i18n lookaside to PO catalogue(s) for i18n strings. - try for /etc/rpm/macros.specspo so that specspo autoconfigures rpm. - per-platform configuration factored into /usr/lib/rpm subdir. CVS patchset: 3588 CVS date: 2000/02/25 16:29:44
Diffstat (limited to 'platform.in')
-rw-r--r--platform.in46
1 files changed, 46 insertions, 0 deletions
diff --git a/platform.in b/platform.in
new file mode 100644
index 000000000..37fbe5ee0
--- /dev/null
+++ b/platform.in
@@ -0,0 +1,46 @@
+# Per-platform rpm configuration file.
+
+#==============================================================================
+# ---- per-platform macros.
+#
+%_arch @RPMCANONARCH@
+%_vendor @RPMCANONVENDOR@
+%_os @RPMCANONOS@
+%_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
+%optflags @RPMRC_OPTFLAGS@
+
+#==============================================================================
+# ---- configure macros.
+#
+%_prefix @prefix@
+%_exec_prefix @exec_prefix@
+%_bindir @bindir@
+%_sbindir @sbindir@
+%_libexecdir @libexecdir@
+%_datadir @datadir@
+%_sysconfdir @sysconfdir@
+%_sharedstatedir @sharedstatedir@
+%_localstatedir @localstatedir@
+%_libdir @libdir@
+%_includedir @includedir@
+%_oldincludedir @oldincludedir@
+%_infodir @infodir@
+%_mandir @mandir@
+
+#==============================================================================
+# ---- Build policy macros.
+#
+#------------------------------------------------------------------------
+# Expanded at end of %install (Red Hat uses these for 6.2)
+#
+#%__spec_install_post \
+# /usr/lib/rpm/brp-compress \
+# /usr/lib/rpm/brp-strip \
+# /usr/lib/rpm/brp-strip-comment-note \
+#%{nil}
+#------------------------------------------------------------------------
+# Expanded at end of %prep (Red Hat uses these for 6.2)
+#
+%_fixowner [ `%{__id} -u` = '0' ] && %{__chown} -Rhf root
+%_fixgroup [ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf root
+%_fixperms %{__chmod} -Rf a+rX,g-w,o-w