[ctemplate] Update to 2.3

Christopher Meng cicku at fedoraproject.org
Sat May 17 04:10:51 UTC 2014


commit e3f29326ed299e56037863ef12eb1b4bedd92a37
Author: Christopher Meng <i at cicku.me>
Date:   Sat May 17 12:10:35 2014 +0800

    Update to 2.3

 .gitignore     |    1 +
 ctemplate.spec |   18 +++++++++++-------
 sources        |    2 +-
 3 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5ec2766..818b922 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 ctemplate-0.*.tar.gz
 /ctemplate-2.2.tar.gz
+/ctemplate-2.3.tar.gz
diff --git a/ctemplate.spec b/ctemplate.spec
index 9f433b1..56bf5c1 100644
--- a/ctemplate.spec
+++ b/ctemplate.spec
@@ -1,11 +1,12 @@
 Name:           ctemplate
-Version:        2.2
-Release:        5%{?dist}
+Version:        2.3
+Release:        1%{?dist}
 Summary:        A simple but powerful template language for C++
 License:        BSD
 URL:            http://code.google.com/p/ctemplate
 Source0:        http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
-BuildRequires:  chrpath python
+BuildRequires:  chrpath
+BuildRequires:  python
 
 %description
 CTemplate is a simple but powerful template language for C++. It
@@ -24,19 +25,19 @@ developing applications that use %{name}.
 %setup -q
 
 %build
-%configure --disable-static
+%configure --disable-static --disable-silent-rules
 
 sed -i 's|^PTHREAD_LIBS = |PTHREAD_LIBS = -lpthread|g' Makefile
 # Omit unused direct shared library dependencies.
 sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
 
-make %{?_smp_mflags} V=1
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 
 # Remove static libraries and libtool archives.
-find %{buildroot} -name '*.*a' -delete
+find %{buildroot} -name '*.*a' -delete -print
 
 # Remove rpaths.
 chrpath --delete %{buildroot}%{_bindir}/make_tpl_varnames_h
@@ -69,6 +70,9 @@ make check
 %{_libdir}/pkgconfig/libctemplate_nothreads.pc
 
 %changelog
+* Tue Apr 08 2014 Christopher Meng <rpm at cicku.me> - 2.3-1
+- Update to 2.3
+
 * Thu Aug 08 2013 Christopher Meng <rpm at cicku.me> - 2.2-5
 - SPEC cleanup.
 
diff --git a/sources b/sources
index 6e8bb02..c071ee1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1de89d9073f473c1e31862c4581636f3  ctemplate-2.2.tar.gz
+3b337f1be9532c9765862e4804785274  ctemplate-2.3.tar.gz


More information about the scm-commits mailing list