[rubygem-http_connection] Initial import

Michal Fojtik mfojtik at fedoraproject.org
Thu Jun 16 18:18:36 UTC 2011


commit 205d7d2b690844e9413f7d458a5a89934c0b3577
Author: Michal Fojtik <mi at mifo.sk>
Date:   Thu Jun 16 20:18:17 2011 +0200

    Initial import

 .gitignore                   |    1 +
 rubygem-http_connection.spec |   63 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0933472 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/http_connection-1.4.1.gem
diff --git a/rubygem-http_connection.spec b/rubygem-http_connection.spec
new file mode 100644
index 0000000..583f851
--- /dev/null
+++ b/rubygem-http_connection.spec
@@ -0,0 +1,63 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname http_connection
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+Summary: RightScale's robust HTTP/S connection module
+Name: rubygem-%{gemname}
+Version: 1.4.1
+Release: 2%{?dist}
+Group: Development/Languages
+License: MIT
+URL: https://github.com/appoxy/http_connection
+Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: rubygems
+Requires: ruby(abi) = 1.8
+BuildRequires: rubygems
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version} rubygem(right_http_connection) 
+Obsoletes: rubygem(right_http_connection)
+
+%description
+Rightscale::HttpConnection is a robust HTTP(S) library. It implements a retry
+algorithm for low-level network errors.
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{gemdir}/gems/%{gemname}-%{version}
+%{geminstdir}/lib
+%doc %{geminstdir}/README.txt
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+
+%changelog
+* Thu Jun 16 2011 Michal Fojtik <mfojtik at redhat.com> - 1.4.1-2
+- Added rubygem-right_http_connection to Provide and Obsolete
+
+* Thu Jun 16 2011 Michal Fojtik <mfojtik at redhat.com> - 1.4.1-1
+- Renaming package rubygem-right_http_connection
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Mar 03 2010 Michal Fojtik <mfojtik at redhat.com> - 1.2.4-2
+- Fixed duplicated files
+- Fixed ruby dependency
+
+* Wed Mar 03 2010 Michal Fojtik <mfojtik at redhat.com> - 1.2.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f2b4853 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5329fb3e933dbf7243c2ab08c5024b6b  http_connection-1.4.1.gem


More information about the scm-commits mailing list