diff options
-rw-r--r-- | rust/rust-nu-ansi-term.spec | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/rust/rust-nu-ansi-term.spec b/rust/rust-nu-ansi-term.spec deleted file mode 100644 index 7334d8f..0000000 --- a/rust/rust-nu-ansi-term.spec +++ /dev/null @@ -1,97 +0,0 @@ -# Generated by rust2rpm 20 -%bcond_without check -%global debug_package %{nil} - -%global crate nu-ansi-term - -Name: rust-%{crate} -Version: 0.42.0 -Release: %autorelease -Summary: Library for ANSI terminal colors and styles (bold, underline) - -# Upstream license specification: MIT -License: MIT -URL: https://crates.io/crates/nu-ansi-term -Source: %{crates_source} -# Initial patched metadata -Patch0: nu-ansi-term-fix-metadata.diff - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging - -%global _description %{expand: -Library for ANSI terminal colors and styles (bold, underline).} - -%description %{_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel %{_description} - -This package contains library source intended for building other packages which -use the "%{crate}" crate. - -%files devel -%license LICENCE -%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 the "default" feature of the "%{crate}" crate. - -%files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+derive_serde_style-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+derive_serde_style-devel %{_description} - -This package contains library source intended for building other packages which -use the "derive_serde_style" feature of the "%{crate}" crate. - -%files -n %{name}+derive_serde_style-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 the "serde" feature of the "%{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 -%autochangelog |