[yap] Make info pages non-executable

Petr Pisar ppisar at fedoraproject.org
Tue Jan 4 10:45:45 UTC 2011


commit bbceeeb05e79b90cc7629e330152d3e94ef9a1f8
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Dec 22 10:35:33 2010 +0100

    Make info pages non-executable

 yap-6.2.0-Install-info-pages-non-executable.patch |   34 +++++++++++++++++++++
 yap.spec                                          |    2 +
 2 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/yap-6.2.0-Install-info-pages-non-executable.patch b/yap-6.2.0-Install-info-pages-non-executable.patch
new file mode 100644
index 0000000..44b2837
--- /dev/null
+++ b/yap-6.2.0-Install-info-pages-non-executable.patch
@@ -0,0 +1,34 @@
+From 84f7e2e5ac18dd130d1656b677d40ebdd7cda9a1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Wed, 22 Dec 2010 10:18:17 +0100
+Subject: [PATCH] Install info pages non-executable
+
+---
+ Makefile.in |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 8f37d05..c513d0c 100755
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -709,7 +709,7 @@ yap.dll:  libYap.a
+ install_info:
+ 	$(MAKE) info; \
+ 	mkdir -p $(DESTDIR)$(INFODIR); \
+-	$(INSTALL) yap.info* $(DESTDIR)$(INFODIR); \
++	$(INSTALL_DATA) yap.info* $(DESTDIR)$(INFODIR); \
+ 	if test -e $(DESTDIR)$(INFODIR)/emacs.bz2; then \
+ 	  bzip2 --quiet --force $(DESTDIR)$(INFODIR)/yap.info*; \
+ 	else \
+@@ -719,7 +719,7 @@ install_info:
+ 	fi; \
+ 	$(INSTALL_INFO) --quiet --section "Programming Languages" yap.info $(DESTDIR)$(INFODIR)/dir; \
+ 	cd $(srcdir)/LGPL/pillow/doc ; \
+-	$(INSTALL) pillow_doc.info $(DESTDIR)$(INFODIR); \
++	$(INSTALL_DATA) pillow_doc.info $(DESTDIR)$(INFODIR); \
+ 	if test -e $(DESTDIR)$(INFODIR)/emacs.bz2; then \
+ 	  bzip2 --quiet --force $(DESTDIR)$(INFODIR)/pillow_doc.info; \
+ 	else \
+-- 
+1.7.3.4
+
diff --git a/yap.spec b/yap.spec
index 20bc7c6..b925132 100644
--- a/yap.spec
+++ b/yap.spec
@@ -15,6 +15,7 @@ Patch2:     yap-6.2.0-Locate-mysql-by-mysql_config.patch
 Patch3:     yap-6.2.0-Install-directory-for-info-pages.patch
 Patch4:     yap-6.2.0-Install-http-CSS-files-into-PLTARGET.patch
 Patch5:     yap-6.2.0-Do-not-install-README-etc.patch
+Patch6:     yap-6.2.0-Install-info-pages-non-executable.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  readline-devel, gmp-devel, texinfo
 BuildRequires:  autoconf
@@ -59,6 +60,7 @@ Documentation for Yap.
 %patch3 -p1 -b .install_info_directory
 %patch4 -p1 -b .install_css_into_pltarget
 %patch5 -p1 -b .do_not_install_readme
+%patch6 -p1 -b .non_executable_info
 # Regerenate configure because of patching
 autoconf
 


More information about the scm-commits mailing list