Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Igor Raits | 58089ebddd | |
Igor Raits | 1ccd5432d5 | |
Igor Raits | 0c4eab365c | |
Igor Raits | 9edb24c471 | |
Igor Raits | f6b252cd42 |
189
rust-bat.spec
189
rust-bat.spec
|
@ -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 bat
|
%global crate bat
|
||||||
|
|
||||||
|
@ -18,9 +20,6 @@ Patch0: bat-fix-metadata.diff
|
||||||
Patch0001: 0001-Siwtch-to-path-absolutize.patch
|
Patch0001: 0001-Siwtch-to-path-absolutize.patch
|
||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
ExclusiveArch: %{rust_arches}
|
||||||
%if %{__cargo_skip_build}
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
|
|
||||||
|
@ -29,7 +28,6 @@ Cat(1) clone with wings.}
|
||||||
|
|
||||||
%description %{_description}
|
%description %{_description}
|
||||||
|
|
||||||
%if ! %{__cargo_skip_build}
|
|
||||||
%package -n %{crate}
|
%package -n %{crate}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
# ASL 2.0
|
# ASL 2.0
|
||||||
|
@ -54,189 +52,6 @@ License: ASL 2.0 and BSD and CC0 and ISC and LGPLv3+ and MIT and zlib
|
||||||
%dir %{_datadir}/fish
|
%dir %{_datadir}/fish
|
||||||
%dir %{_datadir}/fish/vendor_completions.d
|
%dir %{_datadir}/fish/vendor_completions.d
|
||||||
%{_datadir}/fish/vendor_completions.d/bat.fish
|
%{_datadir}/fish/vendor_completions.d/bat.fish
|
||||||
%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-MIT LICENSE-APACHE
|
|
||||||
%doc 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}+application-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+application-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "application" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+application-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+atty-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+atty-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "atty" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+atty-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+clap-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+clap-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "clap" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+clap-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+dirs-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+dirs-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "dirs" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+dirs-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+git-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+git-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "git" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+git-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+git2-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+git2-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "git2" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+git2-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+lazy_static-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+lazy_static-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "lazy_static" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+lazy_static-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+liquid-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+liquid-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "liquid" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+liquid-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+paging-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+paging-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "paging" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+paging-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+regex-fancy-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+regex-fancy-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "regex-fancy" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+regex-fancy-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+regex-onig-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+regex-onig-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "regex-onig" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+regex-onig-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+shell-words-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+shell-words-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "shell-words" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+shell-words-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+wild-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+wild-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "wild" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+wild-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