parent
824e27cadb
commit
5fa16c6947
@ -0,0 +1 @@
|
||||
/clircle-0.3.0.crate
|
@ -0,0 +1,11 @@
|
||||
--- clircle-0.3.0/Cargo.toml 1970-01-01T00:00:00+00:00
|
||||
+++ clircle-0.3.0/Cargo.toml 2021-11-14T17:27:00.007824+00:00
|
||||
@@ -38,7 +38,4 @@
|
||||
[target."cfg(not(windows))".dependencies.libc]
|
||||
version = "0.2"
|
||||
[target."cfg(not(windows))".dev-dependencies.nix]
|
||||
-version = "0.19.1"
|
||||
-[target."cfg(windows)".dependencies.winapi]
|
||||
-version = "0.3.9"
|
||||
-features = ["winnt", "winbase", "processenv", "handleapi", "ntdef", "fileapi"]
|
||||
+version = "0.22.0"
|
@ -0,0 +1,93 @@
|
||||
# Generated by rust2rpm 18
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate clircle
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.3.0
|
||||
Release: %autorelease
|
||||
Summary: Detect IO circles in your CLI apps arguments
|
||||
|
||||
# Upstream license specification: MIT OR Apache-2.0
|
||||
License: MIT or ASL 2.0
|
||||
URL: https://crates.io/crates/clircle
|
||||
Source: %{crates_source}
|
||||
# Initial patched metadata
|
||||
# * Remove Windows only dependencies
|
||||
# * Bump nix to 0.22.0
|
||||
Patch0: clircle-fix-metadata.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
%if %{__cargo_skip_build}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
|
||||
%global _description %{expand:
|
||||
Detect IO circles in your CLI apps arguments.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%doc examples README.md
|
||||
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
||||
|
||||
%package -n %{name}+default-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+default-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "default" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+default-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||||
|
||||
%package -n %{name}+serde-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+serde-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "serde" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+serde-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* dim. nov. 14 2021 Robert-André Mauchin <zebob.m@gmail.com> 0.3.0-2
|
||||
- Uncommitted changes
|
||||
|
||||
* dim. nov. 14 2021 Robert-André Mauchin <zebob.m@gmail.com> 0.3.0-1
|
||||
- Initial release
|
Loading…
Reference in new issue