]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- install contrib sql files in %%{_datadir}/postgresql directory
authorwrobell <wrobell@pld-linux.org>
Wed, 17 Dec 2003 16:10:27 +0000 (16:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- do not install contrib documentation /we %%doc macro with spec files/

Changed files:
    postgresql-contrib_install.patch -> 1.1

postgresql-contrib_install.patch [new file with mode: 0644]

diff --git a/postgresql-contrib_install.patch b/postgresql-contrib_install.patch
new file mode 100644 (file)
index 0000000..cef268d
--- /dev/null
@@ -0,0 +1,26 @@
+--- postgresql-7.4/contrib/contrib-global.mk.orig      2003-12-17 16:54:15.000000000 +0100
++++ postgresql-7.4/contrib/contrib-global.mk   2003-12-17 16:55:54.000000000 +0100
+@@ -74,8 +74,8 @@
+ install: all installdirs
+ ifneq (,$(DATA)$(DATA_built))
+       @for file in $(addprefix $(srcdir)/, $(DATA)) $(DATA_built); do \
+-        echo "$(INSTALL_DATA) $$file $(DESTDIR)$(datadir)/contrib"; \
+-        $(INSTALL_DATA) $$file $(DESTDIR)$(datadir)/contrib; \
++        echo "$(INSTALL_DATA) $$file $(DESTDIR)$(datadir)"; \
++        $(INSTALL_DATA) $$file $(DESTDIR)$(datadir); \
+       done
+ endif # DATA
+ ifdef MODULES
+@@ -84,12 +84,6 @@
+         $(INSTALL_SHLIB) $$file $(DESTDIR)$(pkglibdir); \
+       done
+ endif # MODULES
+-ifdef DOCS
+-      @for file in $(addprefix $(srcdir)/, $(DOCS)); do \
+-        echo "$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib"; \
+-        $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/contrib; \
+-      done
+-endif # DOCS
+ ifdef PROGRAM
+       $(INSTALL_PROGRAM) $(PROGRAM)$(X) $(DESTDIR)$(bindir)
+ endif # PROGRAM
This page took 0.190199 seconds and 4 git commands to generate.