Author: wyoung
Date: Thu Mar 19 01:50:32 2015
New Revision: 2777
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2777&view=rev
Log:
Added an srpm top-level build target, similar in spirit to the dist
target. Since we're no longer distributing official binary RPMs, the
old rpm target really is overkill.
Modified:
trunk/mysql++.bkl
Modified: trunk/mysql++.bkl
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.bkl?rev=2777&r1=2776&r2=2777&view=diff
==============================================================================
--- trunk/mysql++.bkl (original)
+++ trunk/mysql++.bkl Thu Mar 19 01:50:32 2015
@@ -607,14 +607,23 @@
<command>rm -rf $(PKGNAME)</command>
</action>
- <action id="rpm">
+ <action id="rpm-prep">
<if cond="BUILDDOCS=='yes'">
<depends>doc</depends>
</if>
<depends>dist</depends>
<command>cp $(PKGNAME).tar.gz ~/rpmbuild/SOURCES</command>
<command>cd ~/rpmbuild/SPECS</command>
+ </action>
+
+ <action id="rpm">
+ <depends>rpm-prep</depends>
<command>rpmbuild -ba mysql++.spec</command>
+ </action>
+
+ <action id="srpm">
+ <depends>rpm-prep</depends>
+ <command>rpmbuild -bs mysql++.spec</command>
</action>
<action id="ebuild">
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits