Initial import (#1699505)

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
This commit is contained in:
Robert-André Mauchin 2019-04-22 17:23:03 +02:00
parent d1e0bcffd2
commit 8d87228ad2
3 changed files with 60 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/sd-0.5.0.crate

58
rust-sd.spec Normal file
View File

@ -0,0 +1,58 @@
# Generated by rust2rpm
%bcond_without check
%global crate sd
Name: rust-%{crate}
Version: 0.5.0
Release: 1%{?dist}
Summary: An intuitive find & replace CLI
License: MIT
URL: https://crates.io/crates/sd
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(atomicwrites/default) >= 0.2.2 with crate(atomicwrites/default) < 0.3.0)
BuildRequires: (crate(rayon/default) >= 1.0.3 with crate(rayon/default) < 2.0.0)
BuildRequires: (crate(regex-syntax/default) >= 0.6.5 with crate(regex-syntax/default) < 0.7.0)
BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0)
BuildRequires: (crate(structopt/default) >= 0.2.14 with crate(structopt/default) < 0.3.0)
BuildRequires: (crate(unescape/default) >= 0.1.0 with crate(unescape/default) < 0.2.0)
%global _description \
An intuitive find & replace CLI.
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate}
%{summary}.
%files -n %{crate}
%doc CHANGELOG.md README.md
%license LICENSE
%{_bindir}/sd
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Sat Apr 13 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.5.0-1
- Initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (sd-0.5.0.crate) = de0c6808dec0301bdc157f0b1ed9f4f703bbddc76b92e1e70034a7b82c8fc42801e5dcfad95a047c552cc69fff8e34208a9832f1d3aac1ed61a3618b338135c0