rpms/postgresql-odbcng/devel postgresql-odbcng-0.99.101-debugpkg.patch, NONE, 1.1 postgresql-odbcng.spec, 1.5, 1.6

Ville Skyttä scop at fedoraproject.org
Tue Jun 9 18:00:15 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/postgresql-odbcng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2685

Modified Files:
	postgresql-odbcng.spec 
Added Files:
	postgresql-odbcng-0.99.101-debugpkg.patch 
Log Message:
* Fri May  8 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.99.101-0.2.test1
- Patch to generate useful debuginfo subpackage (#499893).


postgresql-odbcng-0.99.101-debugpkg.patch:

--- NEW FILE postgresql-odbcng-0.99.101-debugpkg.patch ---
diff -up odbcng-0.99.101/makefile.in~ odbcng-0.99.101/makefile.in
--- odbcng-0.99.101/makefile.in~	2009-03-05 19:36:26.000000000 +0200
+++ odbcng-0.99.101/makefile.in	2009-05-08 21:32:55.000000000 +0300
@@ -24,8 +24,6 @@ CFLAGS += @DEFS@ -D'ODBCNG_FILE_NAME="@O
 
 ifeq ($(DEBUG), true)
 	CFLAGS += -g -DDEBUG
-else
-	CFLAGS += -g0
 endif
 
 ifeq ($(UNICODE), true)
@@ -85,9 +83,6 @@ else
 endif # win32
 
 all: lib$(LIBNAME).a $(SHLIB)
-ifneq ($(DEBUG), true)
-	strip .libs/$(SHLIB)
-endif
 	@echo "@PACKAGE_STRING@ successfully made. Ready to install."
 
 distclean:


Index: postgresql-odbcng.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql-odbcng/devel/postgresql-odbcng.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- postgresql-odbcng.spec	15 Mar 2009 09:12:50 -0000	1.5
+++ postgresql-odbcng.spec	9 Jun 2009 17:59:45 -0000	1.6
@@ -3,7 +3,7 @@
 Name:		postgresql-%{sname}
 Summary:	PostgreSQL ODBCng driver
 Version:	0.99.101
-Release:	0.1.test1%{?dist}
+Release:	0.2.test1%{?dist}
 License:	LGPLv2
 Group:		Applications/Databases
 Url:		http://projects.commandprompt.com/public/%{sname}
@@ -11,6 +11,7 @@ Url:		http://projects.commandprompt.com/
 # This is not the actual URL to tarball. It also includes ?format=raw 
 # at the end, but I had to skip that part.
 Source0:	https://projects.commandprompt.com/public/%{sname}/attachment/wiki/Downloads/%{sname}-%{version}.tar.gz
+Patch0:		%{name}-0.99.101-debugpkg.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -24,13 +25,12 @@ libpq or any PostgreSQL libraries be ins
 
 %prep
 %setup -q -n %{sname}-%{version}
+%patch0 -p1
 
 aclocal
 libtoolize --force
 autoconf
 
-sed -i.strip -e 's|strip|true strip|' makefile.in
-
 %build
 
 %configure --with-ssl
@@ -44,7 +44,6 @@ install -m 755 ./.libs/libmodbc.so* %{bu
 
 pushd %{buildroot}/%{_libdir}
 popd
-#strip %{buildroot}/%{_libdir}/*.so
 
 %clean
 rm -rf %{buildroot}
@@ -58,6 +57,9 @@ rm -rf %{buildroot}
 %doc COPYING COPYRIGHT LICENSE.txt
 
 %changelog
+* Fri May  8 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.99.101-0.2.test1
+- Patch to generate useful debuginfo subpackage (#499893).
+
 * Sun Mar 15 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.99.101-0.1.test1
 - Update with pre-release to get build working.
 




More information about the fedora-extras-commits mailing list