Blame rust-libcryptsetup-rs-sys.spec

b759434
# Generated by rust2rpm 13
b759434
%bcond_without check
b759434
%global debug_package %{nil}
b759434
b759434
%global crate libcryptsetup-rs-sys
b759434
b759434
Name:           rust-%{crate}
b759434
Version:        0.1.4
e6a40d4
Release:        2%{?dist}
b759434
Summary:        Low level bindings for libcryptsetup
b759434
b759434
# Upstream license specification: MPL-2.0
b759434
License:        MPLv2.0
b759434
URL:            https://crates.io/crates/libcryptsetup-rs-sys
b759434
Source:         %{crates_source}
b759434
b759434
ExclusiveArch:  %{rust_arches}
b759434
%if %{__cargo_skip_build}
b759434
BuildArch:      noarch
b759434
%endif
b759434
b759434
BuildRequires:  rust-packaging
b759434
b759434
%global _description %{expand:
b759434
Low level bindings for libcryptsetup.}
b759434
b759434
%description %{_description}
b759434
b759434
%package        devel
b759434
Summary:        %{summary}
b759434
BuildArch:      noarch
b759434
Requires:       pkgconfig(libcryptsetup)
b759434
b759434
%description    devel %{_description}
b759434
b759434
This package contains library source intended for building other packages
b759434
which use "%{crate}" crate.
b759434
b759434
%files          devel
b759434
%{cargo_registry}/%{crate}-%{version_no_tilde}/
b759434
b759434
%package     -n %{name}+default-devel
b759434
Summary:        %{summary}
b759434
BuildArch:      noarch
b759434
b759434
%description -n %{name}+default-devel %{_description}
b759434
b759434
This package contains library source intended for building other packages
b759434
which use "default" feature of "%{crate}" crate.
b759434
b759434
%files       -n %{name}+default-devel
b759434
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
b759434
b759434
%prep
b759434
%autosetup -n %{crate}-%{version_no_tilde} -p1
b759434
%cargo_prep
b759434
b759434
%generate_buildrequires
b759434
%cargo_generate_buildrequires
b759434
echo 'pkgconfig(libcryptsetup)'
b759434
b759434
%build
b759434
%cargo_build
b759434
b759434
%install
b759434
%cargo_install
b759434
b759434
%if %{with check}
b759434
%check
b759434
%cargo_test
b759434
%endif
b759434
b759434
%changelog
e6a40d4
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-2
e6a40d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e6a40d4
b759434
* Wed Jul 01 14:16:59 EDT 2020 John Baublitz <jbaublitz@redhat.com> - 0.1.4-1
b759434
- Initial package