summaryrefslogtreecommitdiff
path: root/platform.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-02-02 22:45:41 +0000
committerjbj <devnull@localhost>2002-02-02 22:45:41 +0000
commit81d60b470679acaab73d37f6a2f3f2dc6b3cba60 (patch)
tree4e72f64a51f84ae2ce0b0d5783fd7a4a0251313d /platform.in
parentff7a19b2bd00ef66ee702136f2365fae8f713966 (diff)
downloadlibrpm-tizen-81d60b470679acaab73d37f6a2f3f2dc6b3cba60.tar.gz
librpm-tizen-81d60b470679acaab73d37f6a2f3f2dc6b3cba60.tar.bz2
librpm-tizen-81d60b470679acaab73d37f6a2f3f2dc6b3cba60.zip
Sync with rpm-4.0.4 rollbacks.
CVS patchset: 5293 CVS date: 2002/02/02 22:45:41
Diffstat (limited to 'platform.in')
-rw-r--r--platform.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform.in b/platform.in
index 1f6abd8e0..5c94ee451 100644
--- a/platform.in
+++ b/platform.in
@@ -39,7 +39,6 @@
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
- %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; \
./configure %{_target_platform} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\
@@ -112,6 +111,11 @@
@redhat@%_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
@redhat@%_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
@redhat@%_fixperms %{__chmod} -Rf @FIXPERMS@
+@redhat@#---------------------------------------------------------------------
+@redhat@# Always use %defattr(-,root,root) in %files (added in rpm-4.0.4)
+@redhat@#
+@redhat@%files(n:f:) %%files%{?-f: -f %{-f*}}%{?-n: -n %{-n*}} %{?1}\
+@redhat@%defattr(-,root,root,-)
@mandrake@#---------------------------------------------------------------------
@mandrake@# Mandrake vendor specific macros