37 строки
1.2 KiB
Plaintext
37 строки
1.2 KiB
Plaintext
%global debug_package %{nil}
|
|
%global gem_name faraday-em_synchrony
|
|
Summary: Faraday adapter for EM::Synchrony
|
|
Name: rubygem-%{gem_name}
|
|
Version: 1.0.0
|
|
Release: 1%{?dist}
|
|
License: MIT
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Azure Linux
|
|
Group: Development/Languages
|
|
URL: https://github.com/lostisland/faraday-em_synchrony
|
|
Source0: https://github.com/lostisland/faraday-em_synchrony/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
|
|
BuildRequires: ruby
|
|
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
|
|
|
%description
|
|
This gem is a Faraday adapter for the Em::Synchrony library. Faraday is an HTTP client library that provides a common interface over many adapters. Every adapter is defined into its own gem. This gem defines the adapter for Em::Synchrony.
|
|
|
|
%prep
|
|
%setup -q -n %{gem_name}-%{version}
|
|
|
|
%build
|
|
gem build %{gem_name}
|
|
|
|
%install
|
|
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%license %{gemdir}/gems/%{gem_name}-%{version}/LICENSE.md
|
|
%{gemdir}
|
|
|
|
%changelog
|
|
* Wed Jan 06 2021 Neha Agarwal <nehaagarwal@microsoft.com> - 1.0.0-1
|
|
- License verified
|
|
- Original version for CBL-Mariner
|