Author: wyoung
Date: Fri Jan 12 09:51:27 2007
New Revision: 1364
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1364&view=rev
Log:
RPM build no longer requires bakefile. Means we have to build examples
during rpmbuild, but...wahhh.
Modified:
trunk/Wishlist
trunk/mysql++.spec.in
Modified: trunk/Wishlist
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=1364&r1=1363&r2=1364&view=diff
==============================================================================
--- trunk/Wishlist (original)
+++ trunk/Wishlist Fri Jan 12 09:51:27 2007
@@ -20,11 +20,6 @@
o Test that it still works under MinGW after the recent
DLL linkage fixes for VC++.
-
- o RPM build shouldn't require Bakefile. This may mean building
- examples even though they're not needed. One way around
- this may be if we can say something like "make libmysqlpp.so"
- in the build process instead of "make all".
o Move to a single Bakefile probably breaks tarball build
and more. Also requires changes to README type files.
Modified: trunk/mysql++.spec.in
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.spec.in?rev=1364&r1=1363&r2=1364&view=diff
==============================================================================
--- trunk/mysql++.spec.in (original)
+++ trunk/mysql++.spec.in Fri Jan 12 09:51:27 2007
@@ -31,10 +31,10 @@
%prep
%setup -q
-./bootstrap noexamples --prefix=/usr --disable-dependency-tracking
+./configure --prefix=/usr --disable-dependency-tracking
%build
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
@@ -46,7 +46,7 @@
mkdir -p $INCDIR
mkdir -p $EXDIR
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-install -m644 examples/*.cpp examples/*.h exrun $EXDIR
+install -m644 examples/*.{cpp,h} exrun $EXDIR
install -m644 Makefile.simple $EXDIR/Makefile
cp README.examples doc
cp LICENSE doc
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits