rpms/postgresql_autodoc/F-12 postgresql_autodoc-makefile.patch, NONE, 1.1 postgresql_autodoc.spec, 1.6, 1.7

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


Author: devrim

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

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-12/postgresql_autodoc.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- postgresql_autodoc.spec	30 Jul 2009 20:31:06 -0000	1.6
+++ postgresql_autodoc.spec	12 Oct 2009 22:44:33 -0000	1.7
@@ -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,17 +23,17 @@ describes the database.
 
 %prep
 %setup -q -n %{name}
+%patch0 -p0
 
 %build
-make PREFIX=/usr {?_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}
@@ -40,10 +41,10 @@ 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




More information about the fedora-extras-commits mailing list