rpms/postgresql_autodoc/F-11 postgresql_autodoc-makefile.patch, NONE, 1.1 postgresql_autodoc.spec, 1.4, 1.5

Devrim GÜNDÜZ devrim at fedoraproject.org
Mon Oct 12 22:47:17 UTC 2009


Author: devrim

Update of /cvs/extras/rpms/postgresql_autodoc/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11996

Modified Files:
	postgresql_autodoc.spec 
Added Files:
	postgresql_autodoc-makefile.patch 
Log Message:
Update to 1.40, and add a new patch for a clean build.



postgresql_autodoc-makefile.patch:
 Makefile |    2 --
 1 file changed, 2 deletions(-)

--- NEW FILE postgresql_autodoc-makefile.patch ---
--- Makefile.old	2009-10-13 01:23:11.000000000 +0300
+++ Makefile	2009-10-13 01:23:15.000000000 +0300
@@ -1,8 +1,6 @@
 # $Header: /cvsroot/autodoc/autodoc/Makefile,v 1.7 2009/05/01 02:31:10 rbt Exp $
 
 # install configuration
-DESTDIR =
-PREFIX = /usr/local
 BINDIR = ${PREFIX}/bin
 DATADIR = ${PREFIX}/share/postgresql_autodoc
 


Index: postgresql_autodoc.spec
===================================================================
RCS file: /cvs/extras/rpms/postgresql_autodoc/F-11/postgresql_autodoc.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- postgresql_autodoc.spec	30 Jul 2009 19:35:22 -0000	1.4
+++ postgresql_autodoc.spec	12 Oct 2009 22:47:17 -0000	1.5
@@ -6,6 +6,7 @@ Group:		Applications/Databases
 License:	BSD
 URL:		http://www.rbt.ca/autodoc/
 Source0:	http://www.rbt.ca/autodoc/binaries/%{name}-%{version}.tar.gz
+Patch0:		%{name}-makefile.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 
@@ -22,18 +23,17 @@ describes the database.
 
 %prep
 %setup -q -n %{name}
+%patch0 -p0
 
 %build
-%configure --datadir=%{_datadir}/pgsql
-make %{?_smp_mflags}
+PREFIX=%{_usr} make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
 install -d %{buildroot}/%{_bindir}/
-install -d %{buildroot}/%{_docdir}/%{name}
-cp -p postgresql_autodoc %{buildroot}/%{_bindir}/
-install -d %{buildroot}/%{_datadir}/pgsql/%{name}
-cp -p *.tmpl %{buildroot}/%{_datadir}/pgsql/%{name}
+install -d %{buildroot}/%{_datadir}/ı
+install -d %{buildroot}/%{_datadir}/%{name}
+DESTDIR=%{buildroot} PREFIX=%{_usr} make install %{?_smp_mflags}
 
 %clean
 rm -rf %{buildroot}
@@ -41,12 +41,15 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %{_bindir}/%{name}
-%{_datadir}/pgsql/%{name}
+%{_datadir}/%{name}
 
 %changelog
-* Thu Jul 30 2009 - Devrim GUNDUZ <devrim at commandprompt.com> 1.40-1
+* Tue Oct 13 2009 - Devrim GUNDUZ <devrim at commandprompt.com> 1.40-1
 - Update to 1.40
 
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.31-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.31-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list