CBL-Mariner/SPECS/rubygem-multipart-post/rubygem-multipart-post.spec

46 строки
1.3 KiB
Plaintext

%global debug_package %{nil}
%global gem_name multipart-post
Summary: Adds multipart POST capability to net/http
Name: rubygem-%{gem_name}
Version: 2.3.0
Release: 1%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
Group: Development/Languages
URL: https://github.com/socketry/multipart-post
Source0: https://github.com/socketry/multipart-post/archive/refs/tags/v%{version}.tar.gz#/%{gem_name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: ruby
Provides: rubygem(%{gem_name}) = %{version}-%{release}
%description
Adds a streamy multipart form post capability to Net::HTTP.
Also supports other methods besides POST.
%prep
%autosetup -p1 -n %{gem_name}-%{version}
%gemspec_clear_signing
%build
gem build %{gem_name}
%install
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{gem_name}-%{version}.gem
%files
%defattr(-,root,root,-)
%license license.md
%{gemdir}
%changelog
* Sat Mar 23 2024 Riken Maharjan <rmaharjan@microsoft.com> - 2.3.0-1
- Upgrade to 2.3.0
* Wed Jun 22 2022 Neha Agarwal <nehaagarwal@microsoft.com> - 2.1.1-2
- Build from .tar.gz source.
* Wed Jan 06 2021 Henry Li <lihl@microsoft.com> - 2.1.1-1
- License verified
- Original version for CBL-Mariner