| |
@@ -1,4 +1,4 @@
|
| |
- # Generated by rust2rpm 18
|
| |
+ # Generated by rust2rpm 21
|
| |
# * Missing deps:
|
| |
# lipsum ^0.8
|
| |
# unic-emoji-char ^0.9
|
| |
@@ -8,7 +8,7 @@
|
| |
%global crate textwrap
|
| |
|
| |
Name: rust-%{crate}
|
| |
- Version: 0.14.2
|
| |
+ Version: 0.15.0
|
| |
Release: %autorelease
|
| |
Summary: Powerful library for word wrapping, indenting, and dedenting strings
|
| |
|
| |
@@ -18,11 +18,8 @@
|
| |
Source: %{crates_source}
|
| |
|
| |
ExclusiveArch: %{rust_arches}
|
| |
- %if %{__cargo_skip_build}
|
| |
- BuildArch: noarch
|
| |
- %endif
|
| |
|
| |
- BuildRequires: rust-packaging
|
| |
+ BuildRequires: rust-packaging >= 21
|
| |
|
| |
%global _description %{expand:
|
| |
Powerful library for word wrapping, indenting, and dedenting strings.}
|
| |
@@ -35,13 +32,14 @@
|
| |
|
| |
%description devel %{_description}
|
| |
|
| |
- This package contains library source intended for building other packages
|
| |
- which use "%{crate}" crate.
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "%{crate}" crate.
|
| |
|
| |
%files devel
|
| |
- %license LICENSE
|
| |
- %doc README.md CHANGELOG.md
|
| |
- %{cargo_registry}/%{crate}-%{version_no_tilde}/
|
| |
+ %license %{crate_instdir}/LICENSE
|
| |
+ %doc %{crate_instdir}/CHANGELOG.md
|
| |
+ %doc %{crate_instdir}/README.md
|
| |
+ %{crate_instdir}/
|
| |
|
| |
%package -n %{name}+default-devel
|
| |
Summary: %{summary}
|
| |
@@ -49,11 +47,11 @@
|
| |
|
| |
%description -n %{name}+default-devel %{_description}
|
| |
|
| |
- This package contains library source intended for building other packages
|
| |
- which use "default" feature of "%{crate}" crate.
|
| |
+ 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
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
|
| |
%package -n %{name}+smawk-devel
|
| |
Summary: %{summary}
|
| |
@@ -61,11 +59,11 @@
|
| |
|
| |
%description -n %{name}+smawk-devel %{_description}
|
| |
|
| |
- This package contains library source intended for building other packages
|
| |
- which use "smawk" feature of "%{crate}" crate.
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "smawk" feature of the "%{crate}" crate.
|
| |
|
| |
%files -n %{name}+smawk-devel
|
| |
- %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
|
| |
%package -n %{name}+terminal_size-devel
|
| |
Summary: %{summary}
|
| |
@@ -73,11 +71,11 @@
|
| |
|
| |
%description -n %{name}+terminal_size-devel %{_description}
|
| |
|
| |
- This package contains library source intended for building other packages
|
| |
- which use "terminal_size" feature of "%{crate}" crate.
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "terminal_size" feature of the "%{crate}" crate.
|
| |
|
| |
%files -n %{name}+terminal_size-devel
|
| |
- %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
|
| |
%package -n %{name}+unicode-linebreak-devel
|
| |
Summary: %{summary}
|
| |
@@ -85,11 +83,11 @@
|
| |
|
| |
%description -n %{name}+unicode-linebreak-devel %{_description}
|
| |
|
| |
- This package contains library source intended for building other packages
|
| |
- which use "unicode-linebreak" feature of "%{crate}" crate.
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "unicode-linebreak" feature of the "%{crate}" crate.
|
| |
|
| |
%files -n %{name}+unicode-linebreak-devel
|
| |
- %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
|
| |
%package -n %{name}+unicode-width-devel
|
| |
Summary: %{summary}
|
| |
@@ -97,11 +95,11 @@
|
| |
|
| |
%description -n %{name}+unicode-width-devel %{_description}
|
| |
|
| |
- This package contains library source intended for building other packages
|
| |
- which use "unicode-width" feature of "%{crate}" crate.
|
| |
+ This package contains library source intended for building other packages which
|
| |
+ use the "unicode-width" feature of the "%{crate}" crate.
|
| |
|
| |
%files -n %{name}+unicode-width-devel
|
| |
- %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
| |
+ %ghost %{crate_instdir}/Cargo.toml
|
| |
|
| |
%prep
|
| |
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
| |
Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org