You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-num_enum_derive/SPECS/rust-num_enum_derive.spec

169 lines
5.0 KiB

## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 24
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
%global crate num_enum_derive
Name: rust-num_enum_derive
Version: 0.5.11
Release: %autorelease
Summary: Internal implementation details for num_enum
License: BSD-3-Clause OR MIT OR Apache-2.0
URL: https://crates.io/crates/num_enum_derive
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Internal implementation details for ::num_enum (Procedural macros to
make inter-operation between primitives and enums easier).}
%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 %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-BSD
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 %{crate_instdir}/Cargo.toml
%package -n %{name}+complex-expressions-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+complex-expressions-devel %{_description}
This package contains library source intended for building other packages which
use the "complex-expressions" feature of the "%{crate}" crate.
%files -n %{name}+complex-expressions-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+external_doc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+external_doc-devel %{_description}
This package contains library source intended for building other packages which
use the "external_doc" feature of the "%{crate}" crate.
%files -n %{name}+external_doc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+proc-macro-crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+proc-macro-crate-devel %{_description}
This package contains library source intended for building other packages which
use the "proc-macro-crate" feature of the "%{crate}" crate.
%files -n %{name}+proc-macro-crate-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/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
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.5.11-1
- Rebuilt for MSVSphere 9.3
* Tue Feb 28 2023 Fabio Valentini <decathorpe@gmail.com> - 0.5.11-1
- Update to version 0.5.11; Fixes RHBZ#2170824
* Fri Feb 03 2023 Fabio Valentini <decathorpe@gmail.com> - 0.5.9-1
- Update to version 0.5.9; Fixes RHBZ#2159580
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Mar 05 2022 Fabio Valentini <decathorpe@gmail.com> - 0.5.7-1
- Update to version 0.5.7; Fixes RHBZ#2036368
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Dec 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.5.5-1
- Update to version 0.5.5; Fixes RHBZ#2033888
* Sat Aug 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.5.4-1
- Update to version 0.5.4; Fixes RHBZ#1994167
* Sun Aug 08 2021 Fabio Valentini <decathorpe@gmail.com> - 0.5.3-1
- Update to version 0.5.3; Fixes RHBZ#1989449
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jul 19 2021 Fabio Valentini <decathorpe@gmail.com> - 0.5.2-1
- Update to version 0.5.2.
* Fri May 07 09:30:16 PDT 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.5.1-1
- Initial package