From 1df8bdac902494efe367e157a0d9198ff6498ddb Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Jun 23 2012 01:56:09 +0000 Subject: Switch back to using pre-generated tarballs --- diff --git a/.gitignore b/.gitignore index 88a2ee7..c1f1043 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/gregkh-bti-032-0-gfabeb14.tar.gz +/bti-032.tar.xz diff --git a/bti.spec b/bti.spec index eb9f74f..68b7e67 100644 --- a/bti.spec +++ b/bti.spec @@ -1,6 +1,3 @@ -%global upstream gregkh -%global commit_hash fabeb14 - Name: bti Version: 032 Release: 1%{?dist} @@ -9,8 +6,9 @@ Summary: Bash Twitter/Identi.ca Idiocy Group: Applications/Internet License: GPLv2 URL: https://github.com/gregkh/bti +# for downloading from github: # wget --content-disposition %%{url}/tarball/%%{version} -Source0: %{upstream}-%{name}-%{version}-0-g%{commit_hash}.tar.gz +Source0: http://www.kernel.org/pub/software/web/bti/bti-%{version}.tar.xz Source1: README.identica %if 0%{?el5} @@ -22,9 +20,9 @@ BuildRequires: curl-devel %else BuildRequires: libcurl-devel %endif -BuildRequires: autoconf automake +# for building from github +# BuildRequires: autoconf automake BuildRequires: liboauth-devel libxml2-devel pcre-devel -#Requires: %description Allows you to pipe your bash input to twitter or identi.ca in an easy @@ -32,12 +30,13 @@ and fast manner to annoy the whole world. %prep -%setup -q -n %{upstream}-%{name}-758e50d +%setup -q cp -p %{SOURCE1} . %build -autoreconf --install --symlink +# for building from github +# autoreconf --install --symlink %configure make %{?_smp_mflags} LDFLAGS="-L%{_libdir}/readline5" @@ -57,7 +56,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 # Own the directory so that we do not need to Require: # bash-completion just for one file %dir %{_sysconfdir}/bash_completion.d diff --git a/sources b/sources index e004dab..708b3a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1e0d0b693fdeebec268004ba41701baf gregkh-bti-032-0-gfabeb14.tar.gz +d3827e9b866307b306c4bdf273439856 bti-032.tar.xz