Blob Blame History Raw
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}

%global crate libcryptsetup-rs

Name:           rust-libcryptsetup-rs
Version:        0.9.3
Release:        1%{?dist}
Summary:        High level Rust bindings for libcryptsetup

License:        MPL-2.0
URL:            https://crates.io/crates/libcryptsetup-rs
Source:         %{crates_source}

BuildRequires:  cargo-rpm-macros >= 24

%global _description %{expand:
High level Rust bindings for libcryptsetup.}

%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
%doc %{crate_instdir}/CHANGES.txt
%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}+mutex-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+mutex-devel %{_description}

This package contains library source intended for building other packages which
use the "mutex" feature of the "%{crate}" crate.

%files       -n %{name}+mutex-devel
%ghost %{crate_instdir}/Cargo.toml

%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep

%generate_buildrequires
%cargo_generate_buildrequires

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif

%changelog
* Thu Mar 28 2024 Bryan Gurney <bgurney@redhat.com> - 0.9.3-1
- Update to version 0.9.3

* Tue Jan 16 2024 Bryan Gurney <bgurney@redhat.com> - 0.9.2-1
- Update to version 0.9.2

* Thu Oct 26 2023 Bryan Gurney <bgurney@redhat.com> - 0.9.1-1
- Update to version 0.9.1

* Fri Sep 15 2023 Bryan Gurney <bgurney@redhat.com> - 0.9.0-1
- Update to version 0.9.0

* Wed Jun 07 2023 Bryan Gurney <bgurney@redhat.com> - 0.8.0-1
- Update to version 0.8.0

* Wed May 31 2023 Bryan Gurney <bgurney@redhat.com> - 0.7.1-1
- Update to version 0.7.1

* Thu May 18 2023 Bryan Gurney <bgurney@redhat.com> - 0.7.0-1
- Update to version 0.7.0

* Wed Feb 15 2023 Bryan Gurney <bgurney@redhat.com> - 0.6.1-1
- Update to version 0.6.1

* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Fri Aug 26 2022 mulhern <amulhern@redhat.com> - 0.6.0-1
- Update to version 0.6.0

* Wed Jul 27 2022 mulhern <amulhern@redhat.com> - 0.5.1-1
- Update to version 0.5.1

* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Sun Feb 27 2022 mulhern <amulhern@redhat.com> - 0.5.0-2
- Remove subpackages that correspond to previously existing features

* Fri Feb 11 2022 mulhern <amulhern@redhat.com> - 0.5.0-1
- Update to version 0.5.0

* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Fri Apr 23 13:10:50 EDT 2021 John Baublitz <jbaublitz@redhat.com> - 0.4.4-1
- Update to version 0.4.4

* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jul 06 17:40:02 EDT 2020 John Baublitz <jbaublitz@redhat.com> - 0.4.2-1
- Initial package