rust-tokei/rust-tokei.spec
Fedora Release Engineering 9685c25712 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 09:44:36 +00:00

296 lines
8.7 KiB
RPMSpec

# Generated by rust2rpm 13
%bcond_without check
%global crate tokei
Name: rust-%{crate}
Version: 12.0.4
Release: 2%{?dist}
Summary: Utility that allows you to count code, quickly
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/tokei
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Utility that allows you to count code, quickly.}
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
# * (MIT or ASL 2.0) and BSD
# * ASL 2.0 or Boost
# * ASL 2.0 or MIT
# * MIT
# * MIT or ASL 2.0
# * Unlicense or MIT
License: MIT and BSD and (ASL 2.0 or Boost)
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENCE-MIT LICENCE-APACHE
%{_bindir}/tokei
%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 LICENCE-MIT LICENCE-APACHE
%{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}+all-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+all-devel %{_description}
This package contains library source intended for building other packages
which use "all" feature of "%{crate}" crate.
%files -n %{name}+all-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+cbor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cbor-devel %{_description}
This package contains library source intended for building other packages
which use "cbor" feature of "%{crate}" crate.
%files -n %{name}+cbor-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+hex-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+hex-devel %{_description}
This package contains library source intended for building other packages
which use "hex" feature of "%{crate}" crate.
%files -n %{name}+hex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde_cbor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_cbor-devel %{_description}
This package contains library source intended for building other packages
which use "serde_cbor" feature of "%{crate}" crate.
%files -n %{name}+serde_cbor-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde_yaml-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_yaml-devel %{_description}
This package contains library source intended for building other packages
which use "serde_yaml" feature of "%{crate}" crate.
%files -n %{name}+serde_yaml-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+yaml-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+yaml-devel %{_description}
This package contains library source intended for building other packages
which use "yaml" feature of "%{crate}" crate.
%files -n %{name}+yaml-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 -a
%build
%cargo_build -a
%install
%cargo_install -a
%if %{with check}
%check
%cargo_test -a
%endif
%changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Josh Stone <jistone@redhat.com> - 12.0.4-1
- Update to 12.0.4
* Sat Jun 06 2020 Josh Stone <jistone@redhat.com> - 11.2.1-1
- Update to 11.2.1
* Wed May 20 07:37:56 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 11.2.0-1
- Update to 11.2.0
* Wed May 06 2020 Josh Stone <jistone@redhat.com> - 11.1.1-1
- Update to 11.1.1
* Sun Apr 19 11:57:45 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 11.1.0-1
- Update to 11.1.0
* Sat Mar 21 17:14:07 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 11.0.0-1
- Update to 11.0.0
* Thu Mar 19 11:06:08 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 10.1.2-3
- Update git2 to 0.13
* Tue Mar 03 2020 Josh Stone <jistone@redhat.com> - 10.1.2-2
- Bump git2 to 0.12
* Thu Feb 13 2020 Josh Stone <jistone@redhat.com> - 10.1.2-1
- Update to 10.1.2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 10.1.1-1
- Update to 10.1.1
* Wed Dec 25 11:00:37 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.1.0-2
- Update git2 to 0.11
* Tue Nov 19 09:33:39 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.1.0-1
- Update to 10.1.0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jul 06 11:20:58 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.0.1-1
- Update to 10.0.1
* Wed Jun 19 12:33:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.0.0-1
- Update to 10.0.0
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 9.1.1-2
- Bump git2 to 0.9
* Sat Mar 30 14:59:32 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.1.1-1
- Update to 9.1.1
* Thu Mar 21 09:59:47 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.1.0-1
- Update to 9.1.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Josh Stone <jistone@redhat.com> - 9.0.0-1
- Update to 9.0.0
* Sat Nov 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.0.1-2
- Adapt to new packaging
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.0.1-1
- Update to 8.0.1
* Wed Jul 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-4
- Bump handlebars to 1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-2
- Update to new macro
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-1
- Update to 7.0.3
* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-6
- Rebuild for passing %%__cargo_common_opts bug
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-5
- Bump rayon to 1
* Mon Feb 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-4
- Bump ignore to 0.4
* Sat Feb 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-3
- Bump handlebars to 0.31
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-1
- Update to 7.0.1
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-3
- Rebuild for env_logger 0.5.2
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-2
- Rebuild for env_logger 0.5.1
* Wed Jan 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-1
- Update to 7.0.0
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-8
- Rebuild for rust-packaging v5
* Tue Jan 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-7
- Bump serde_cbor to 0.8
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-6
- Bump lazy_static to 1
* Tue Nov 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-5
- Rebuild for clap 2.28.0
* Sat Nov 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-4
- Rebuild for rust-hex 0.3
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-3
- Rebuild for dependency change
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-2
- Enable all feauteres
* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-1
- Initial package