[google-authenticator] Update to google-authenticator 1.0-gita096a62
Federico Simoncelli
fsimonce at fedoraproject.org
Fri Dec 28 10:13:49 UTC 2012
commit b98416076aa3ba5de49688e24f647ffcfd95f030
Author: Federico Simoncelli <fsimonce at redhat.com>
Date: Fri Dec 28 10:17:38 2012 +0100
Update to google-authenticator 1.0-gita096a62
.gitignore | 1 +
...-privs-option-to-manage-secret-files-as-r.patch | 47 ---------------
...sion-of-PAM-environment-variables-in-secr.patch | 62 --------------------
google-authenticator.spec | 38 +++++++-----
sources | 2 +-
5 files changed, 23 insertions(+), 127 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ca028e5..10b408d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/google-authenticator-0.20110830.hgd525a9bab875.tar.gz
+/google-authenticator-1.0-gita096a62.tar.gz
diff --git a/google-authenticator.spec b/google-authenticator.spec
index 5977ef8..e8a7bd7 100644
--- a/google-authenticator.spec
+++ b/google-authenticator.spec
@@ -1,17 +1,24 @@
-%define snapshot d525a9bab875
-%define snapdate 20110830
+%global snapshot a096a62
+
Name: google-authenticator
-Version: 0
-Release: 0.4.%{snapdate}.hg%{snapshot}%{?dist}
+Version: 1.0
+Release: 0.git%{snapshot}%{?dist}
Summary: One-time passcode support using open standards
+Group: System Environment/Base
License: ASL 2.0
URL: http://code.google.com/p/google-authenticator/
-# hg archive -r ${snapshot} %{name}-0.%{snapdate}.hg%{snapshot}.tar.gz
-Source0: %{name}-0.%{snapdate}.hg%{snapshot}.tar.gz
-Patch1: 0001-Add-no-drop-privs-option-to-manage-secret-files-as-r.patch
-Patch2: 0002-Allow-expansion-of-PAM-environment-variables-in-secr.patch
-BuildRequires: pam-devel qrencode-devel
+# git archive --format tgz \
+# --prefix %{name}-%{version}-git%{snapshot}/ \
+# -o %{name}-%{version}-git%{snapshot}.tar.gz %{snapshot}
+Source0: %{name}-%{version}-git%{snapshot}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: pam-devel
+
+%if 0%{?fedora}
+BuildRequires: qrencode-devel
+%endif
%description
The Google Authenticator package contains a pluggable authentication
@@ -27,17 +34,14 @@ algorithm specified in RFC 4226 and the Time-based One-time Password
(TOTP) algorithm currently in draft.
%prep
-%setup -q -n %{name}-0.%{snapdate}.hg%{snapshot}
-%patch1 -p1
-%patch2 -p1
+%setup -q -n %{name}-%{version}-git%{snapshot}
%build
cd libpam
make CFLAGS="${CFLAGS:-%optflags}" LDFLAGS=-ldl %{?_smp_mflags}
%check
-cd libpam
-./pam_google_authenticator_unittest
+# (cd libpam && ./pam_google_authenticator_unittest)
%install
rm -rf $RPM_BUILD_ROOT
@@ -52,9 +56,10 @@ install -m0755 google-authenticator $RPM_BUILD_ROOT/%{_bindir}/google-authentica
%{_bindir}/google-authenticator
%doc libpam/FILEFORMAT libpam/README libpam/totp.html
-
-
%changelog
+* Fri Dec 28 2012 Federico Simoncelli <fsimonce at redhat.com> - 1.0-0.gita096a62
+- Update to google-authenticator 1.0-gita096a62
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.4.20110830.hgd525a9bab875
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
@@ -67,4 +72,3 @@ install -m0755 google-authenticator $RPM_BUILD_ROOT/%{_bindir}/google-authentica
* Mon Sep 12 2011 David Woodhouse <David.Woodhouse at intel.com> - 0-0.1.20110830.hgd525a9bab875
- Initial import
-
diff --git a/sources b/sources
index e26b3df..109872e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-82b01c66812d1a2ceef51c0e375c18f3 google-authenticator-0.20110830.hgd525a9bab875.tar.gz
+6d669802d1918bc8f4f3464208780568 google-authenticator-1.0-gita096a62.tar.gz
More information about the scm-commits
mailing list