Blame rust-dirs-sys.spec

84c59b0
# Generated by rust2rpm 13
5548b30
%bcond_without check
5548b30
%global debug_package %{nil}
5548b30
5548b30
%global crate dirs-sys
5548b30
5548b30
Name:           rust-%{crate}
84c59b0
Version:        0.3.5
09c6b48
Release:        3%{?dist}
5548b30
Summary:        System-level helper functions for the dirs and directories crates
5548b30
5548b30
# Upstream license specification: MIT OR Apache-2.0
5548b30
License:        MIT or ASL 2.0
5548b30
URL:            https://crates.io/crates/dirs-sys
5548b30
Source:         %{crates_source}
5548b30
# Initial patched metadata
5548b30
# * No windows/redox
5548b30
Patch0:         dirs-sys-fix-metadata.diff
5548b30
5548b30
ExclusiveArch:  %{rust_arches}
5548b30
%if %{__cargo_skip_build}
5548b30
BuildArch:      noarch
5548b30
%endif
5548b30
5548b30
BuildRequires:  rust-packaging
5548b30
5548b30
%global _description %{expand:
5548b30
System-level helper functions for the dirs and directories crates.}
5548b30
5548b30
%description %{_description}
5548b30
5548b30
%package        devel
5548b30
Summary:        %{summary}
5548b30
BuildArch:      noarch
5548b30
5548b30
%description    devel %{_description}
5548b30
5548b30
This package contains library source intended for building other packages
5548b30
which use "%{crate}" crate.
5548b30
5548b30
%files          devel
5548b30
%license LICENSE-MIT LICENSE-APACHE
5548b30
%doc README.md
84c59b0
%{cargo_registry}/%{crate}-%{version_no_tilde}/
5548b30
5548b30
%package     -n %{name}+default-devel
5548b30
Summary:        %{summary}
5548b30
BuildArch:      noarch
5548b30
5548b30
%description -n %{name}+default-devel %{_description}
5548b30
5548b30
This package contains library source intended for building other packages
5548b30
which use "default" feature of "%{crate}" crate.
5548b30
5548b30
%files       -n %{name}+default-devel
84c59b0
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5548b30
5548b30
%prep
5548b30
%autosetup -n %{crate}-%{version_no_tilde} -p1
5548b30
%cargo_prep
5548b30
5548b30
%generate_buildrequires
5548b30
%cargo_generate_buildrequires
5548b30
5548b30
%build
5548b30
%cargo_build
5548b30
5548b30
%install
5548b30
%cargo_install
5548b30
5548b30
%if %{with check}
5548b30
%check
5548b30
%cargo_test
5548b30
%endif
5548b30
5548b30
%changelog
09c6b48
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
09c6b48
- Second attempt - Rebuilt for
09c6b48
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
09c6b48
f4ebfe3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
f4ebfe3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f4ebfe3
84c59b0
* Sat Jun 06 2020 Josh Stone <jistone@redhat.com> - 0.3.5-1
84c59b0
- Update to 0.3.5
84c59b0
db9a792
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
db9a792
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
db9a792
065ddf7
* Sun Jul 28 21:23:28 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.4-1
065ddf7
- Update to 0.3.4
065ddf7
32b3a26
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
32b3a26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
32b3a26
5548b30
* Wed Jun 19 12:36:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.3-1
5548b30
- Initial package