[bti/el5] Revert "Update to 032" -- requires newer autoconf than available on RHEL 5 / EPEL 5
Michel Alexandre Salim
salimma at fedoraproject.org
Tue Jun 19 11:49:01 UTC 2012
commit 764a1509bd319d1a226357eebfaa9280c94a2f64
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Tue Jun 19 18:48:33 2012 +0700
Revert "Update to 032" -- requires newer autoconf than available on RHEL
5 / EPEL 5
This reverts commit f13e7ddf6de4ad8d7b42529fd276be0b983a9acd.
.gitignore | 2 +-
README.Fedora | 5 +++++
README.identica | 13 -------------
bti.spec | 25 ++++++-------------------
sources | 2 +-
5 files changed, 13 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 88a2ee7..2d00fdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gregkh-bti-032-0-gfabeb14.tar.gz
+/bti-031.tar.bz2
diff --git a/README.Fedora b/README.Fedora
new file mode 100644
index 0000000..cf9c743
--- /dev/null
+++ b/README.Fedora
@@ -0,0 +1,5 @@
+Twitter now requires OAuth authentication. See README for how to set it up,
+and get the required keys from bti's source tree here:
+
+ https://github.com/gregkh/bti/blob/master/oath.keys
+
diff --git a/bti.spec b/bti.spec
index 6732baf..e12d1e2 100644
--- a/bti.spec
+++ b/bti.spec
@@ -1,28 +1,20 @@
-%global upstream gregkh
-%global commit_hash fabeb14
-
Name: bti
-Version: 032
+Version: 031
Release: 1%{?dist}
Summary: Bash Twitter/Identi.ca Idiocy
Group: Applications/Internet
License: GPLv2
-URL: https://github.com/gregkh/bti
-# wget --content-disposition %%{url}/tarball/%%{version}
-Source0: %{upstream}-%{name}-%{version}-0-g%{commit_hash}.tar.gz
-Source1: README.identica
-
-%if 0%{?el5}
+URL: http://www.kernel.org/pub/linux/kernel/people/gregkh/bti
+Source0: http://www.kernel.org/pub/linux/kernel/people/gregkh/bti/bti-%{version}.tar.bz2
+Source1: README.Fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%endif
%if 0%{?el5}
BuildRequires: curl-devel
%else
BuildRequires: libcurl-devel
%endif
-BuildRequires: autoconf automake
BuildRequires: liboauth-devel libxml2-devel pcre-devel
#Requires:
@@ -32,12 +24,11 @@ and fast manner to annoy the whole world.
%prep
-%setup -q -n %{upstream}-%{name}-758e50d
+%setup -q
cp -p %{SOURCE1} .
%build
-autoreconf --install --symlink
%configure
make %{?_smp_mflags} LDFLAGS="-L%{_libdir}/readline5"
@@ -56,8 +47,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc ChangeLog COPYING README README.identica RELEASE-NOTES
-%doc bti.example oath.keys
+%doc bti.example ChangeLog COPYING README README.Fedora RELEASE-NOTES
# Own the directory so that we do not need to Require:
# bash-completion just for one file
%dir %{_sysconfdir}/bash_completion.d
@@ -69,9 +59,6 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Tue Jun 19 2012 Michel Salim <salimma at fedoraproject.org> - 032-1
-- Update to 032
-
* Tue Mar 22 2011 Michel Salim <salimma at fedoraproject.org> - 031-1
- Update to 031
diff --git a/sources b/sources
index e004dab..34c8ae5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1e0d0b693fdeebec268004ba41701baf gregkh-bti-032-0-gfabeb14.tar.gz
+030b2a74f976d89c1d9acbde5d72573f bti-031.tar.bz2
More information about the scm-commits
mailing list