[librep] improved specfile; add --nocfg flag to autogen.sh



commit ec33c81b1a85866d3c8b7a2f6f449d16530f7c0a
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Sat Jan 2 11:24:29 2010 +0100

    improved specfile; add --nocfg flag to autogen.sh

 ChangeLog      |    7 +++++++
 autogen.sh     |    4 +++-
 librep.spec.in |    4 ++--
 man/news.texi  |    4 +++-
 4 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 319663f..85644ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-01-02  Christopher Bratusek <zanghar freenet de>
+	* autogen.sh: added --nocfg flag for not running configure afterwards
+
+	* librep.spec.in: improved [Kim B. Heino]
+
+	* man/news.texi: updated
+
 2010-01-01  Christopher Bratusek <zanghar freenet de>
 	* debian/librep-dev.install
 	* librep.spec.in
diff --git a/autogen.sh b/autogen.sh
index 3d7597b..e015595 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -32,4 +32,6 @@ if [ -f configure.in ]; then
   autoconf $AUTOCONF_FLAGS || exit 1
 fi
 
-./configure "$@"
+if [ "${1}" != "--nocfg" ]; then
+	./configure "$@"
+fi
diff --git a/librep.spec.in b/librep.spec.in
index 688b3d5..4379cbe 100644
--- a/librep.spec.in
+++ b/librep.spec.in
@@ -46,8 +46,8 @@ nicely interacts and integrates into emacs.
 %setup -q
 
 %build
-
-%configure --with-readline --enable-shared --disable-rpath
+./autogen.sh --nocfg
+%configure --with-readline --enable-shared
 make %{?_smp_mflags}
 
 %install
diff --git a/man/news.texi b/man/news.texi
index 3401d01..d45efc5 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -11,9 +11,11 @@
 sawfish on several architectures. From this version on, we don't ship it.
 [Kim B. Heino]
 
- item Improved the debian packaging scripts
+ item Improved the debian and rpm packaging scripts
+[Christopher Bratusek] [Kim B. Heino]
 
 @item Install headers to $includedir/rep/ instead of $includedir/
+[Christopher Bratusek]
 @end itemize
 
 @heading 0.90.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]