Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Igor Raits | 72a05392f4 | |
Igor Raits | 7f4f6331b2 |
|
@ -1,5 +1,7 @@
|
||||||
# Generated by rust2rpm 15
|
# Generated by rust2rpm 15
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
# No devel stuff in released Fedora
|
||||||
|
%global __cargo_is_lib() false
|
||||||
|
|
||||||
%global crate skim
|
%global crate skim
|
||||||
|
|
||||||
|
@ -14,9 +16,6 @@ URL: https://crates.io/crates/skim
|
||||||
Source: %{crates_source}
|
Source: %{crates_source}
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
ExclusiveArch: %{rust_arches}
|
||||||
%if %{__cargo_skip_build}
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
|
|
||||||
|
@ -25,7 +24,6 @@ Fuzzy Finder in rust!.}
|
||||||
|
|
||||||
%description %{_description}
|
%description %{_description}
|
||||||
|
|
||||||
%if ! %{__cargo_skip_build}
|
|
||||||
%package -n %{crate}
|
%package -n %{crate}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
# (MIT or ASL 2.0) and BSD
|
# (MIT or ASL 2.0) and BSD
|
||||||
|
@ -53,33 +51,6 @@ License: MIT and BSD and MPLv2.0
|
||||||
%dir %{_datadir}/zsh
|
%dir %{_datadir}/zsh
|
||||||
%dir %{_datadir}/zsh/site-functions
|
%dir %{_datadir}/zsh/site-functions
|
||||||
%{_datadir}/zsh/site-functions/_sk
|
%{_datadir}/zsh/site-functions/_sk
|
||||||
%endif
|
|
||||||
|
|
||||||
%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
|
|
||||||
%license LICENSE
|
|
||||||
%doc CHANGELOG.md 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
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||||
|
|
Loading…
Reference in New Issue