]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- macros: avoid failures on empty buildroot
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 13 Mar 2004 23:46:03 +0000 (23:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added note about readelf@amd64
- define empty install/verify file_contexts path to shut up extremely annoying warnings

Changed files:
    rpm.spec -> 1.526

rpm.spec

index 5ec661611f5c7b2bcb777dd0d6f52ad0e19fa56c..7959a6c1f8c1ce9aa8f7208bb3f538619e46b13a 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -3,6 +3,8 @@
 # - use system libmagic not internal libfmagic
 # - when really needed: _noauto{req,prov} for non-helper-generated deps
 #
+# - fix lseek (readelf?) failures on amd64 ASAP!!!
+#
 # Conditional build:
 %bcond_with    static  # build static rpmi (not supported at the moment)
 %bcond_without doc     # don't generate documentation with doxygen
@@ -691,6 +693,11 @@ cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
 #
 #%%_install_langs pl_PL:en_US
 %%distribution PLD
+#
+# remove or replace with file_contexts path if you want to use custom
+# SELinux file contexts policy instead of one stored in packages payload
+%_install_file_context_path    %{nil}
+%_verify_file_context_path     %{nil}
 EOF
 
 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoprovfiles <<EOF
This page took 0.046532 seconds and 4 git commands to generate.