[qoauth/f13/master: 7/8] Update to 1.0.1

supercyper supercyper at fedoraproject.org
Sun Aug 8 13:27:41 UTC 2010


commit 07d42d7def2e765485fb77b9d6a05f1176352861
Author: Chen Lei <supercyper at 163.com>
Date:   Sun Aug 8 07:26:09 2010 -0600

    Update to 1.0.1

 .gitignore  |    2 +-
 qoauth.spec |   19 +++++++++----------
 sources     |    2 +-
 3 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ee621cc..1690c3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-qoauth-726325d.tar.bz2
+qoauth-1.0.1-src.tar.bz2
diff --git a/qoauth.spec b/qoauth.spec
index 60ca13d..84ee18c 100644
--- a/qoauth.spec
+++ b/qoauth.spec
@@ -1,22 +1,18 @@
-%define githash 726325d
-%define gitdate 20100625
+%global githash 726325d
+%global gitdate 20100625
+#global posttag .%{?gitdate}git%{?githash}
 
 Name:		qoauth
 Version:	1.0.1
-Release:	0.3.%{gitdate}git%{githash}%{?dist}
+Release:	1%{?posttag}%{?dist}
 Summary:	Qt-based C++ library for OAuth authorization scheme
 Group:		System Environment/Libraries
 License:	LGPLv2+
 URL:		http://github.com/ayoy/qoauth
-#Source0:	http://files.ayoy.net/qoauth/release/%{version}/src/%{name}-%{version}-src.tar.bz2
-# The source is generated from the git snapshot using the following command
-# git clone git://github.com/ayoy/qoauth.git
-# git archive master --prefix=qoauth-`git log --pretty=format:"%h"| head -n1`/ |bzip2 > qoauth-`git log --pretty=format:"%h"|head -n1`.tar.bz2
-Source0:	%{name}-%{githash}.tar.bz2
+Source0:	http://files.ayoy.net/qoauth/release/%{version}/src/%{name}-%{version}-src.tar.bz2
 BuildRequires:	qt4-devel qca2-devel doxygen
 BuildRequires:	qca-ossl
 Requires:	qca-ossl%{?_isa}
-%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
 
 %description
 QOAuth is a Qt-based C++ implementation of an interface to services using
@@ -34,7 +30,7 @@ The %{name}-devel package contains libraries, header files and documentations
 for developing applications that use QOAuth library. 
 
 %prep
-%setup -q -n %{name}-%{githash}
+%setup -q -n %{name}-%{version}-src
 sed -i -e '/^ *docs \\$/d' \
        -e "s!\(\$\${INSTALL_PREFIX}\)/lib.*!%{_libdir}!" src/src.pro
 sed -i -e 's\/lib\/%{_lib}\g' src/pcfile.sh
@@ -79,6 +75,9 @@ rm -rf %{buildroot}
 %{_includedir}/*
 
 %changelog
+* Sun Aug 08 2010 Chen Lei <supercyper at 163.com> - 1.0.1-1
+- Update to 1.0.1
+
 * Fri Jun 25 2010 Chen Lei <supercyper at 163.com> - 1.0.1-0.3.20100625git726325d
 - New upstream version
 
diff --git a/sources b/sources
index a1031d8..251b713 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-90ff9aa9721ddbe41c72ed5d56289bd9  qoauth-726325d.tar.bz2
+bcb6d01e6c9a6fb22099c9e0f5889578  qoauth-1.0.1-src.tar.bz2


More information about the scm-commits mailing list