|
|
|
# Generated by rust2rpm 12
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate trust-dns-proto
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.18.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Trust-DNS is a safe and secure DNS library
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/trust-dns-proto
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Trust-DNS is a safe and secure DNS library. This is the foundational DNS
|
|
|
|
protocol library for all Trust-DNS projects.}
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%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 LICENSE-APACHE LICENSE-MIT
|
|
|
|
%doc README.md
|
|
|
|
%{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}+data-encoding-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+data-encoding-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "data-encoding" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+data-encoding-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+dnssec-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+dnssec-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "dnssec" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+dnssec-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+dnssec-openssl-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+dnssec-openssl-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "dnssec-openssl" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+dnssec-openssl-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+dnssec-ring-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+dnssec-ring-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "dnssec-ring" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+dnssec-ring-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+mdns-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+mdns-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "mdns" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+mdns-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+openssl-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+openssl-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "openssl" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+openssl-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+ring-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+ring-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "ring" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+ring-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+serde-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+serde-config-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+serde-config-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "serde-config" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+serde-config-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+testing-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+testing-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "testing" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+testing-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
%package -n %{name}+tokio-runtime-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+tokio-runtime-devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "tokio-runtime" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+tokio-runtime-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
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Dec 26 14:43:17 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.18.0-2
|
|
|
|
- Fix package list
|
|
|
|
|
|
|
|
* Wed Dec 25 17:54:51 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.18.0-1
|
|
|
|
- Update to 0.18.0
|
|
|
|
|
|
|
|
* Sat Dec 14 14:00:44 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.18.0~alpha.2-1
|
|
|
|
- Update to 0.18.0~alpha.2
|
|
|
|
|
|
|
|
* Sun Oct 20 03:00:48 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.0-1
|
|
|
|
- Update to 0.8.0
|
|
|
|
|
|
|
|
* Sun Aug 04 13:17:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.4-4
|
|
|
|
- Update rand to 0.7
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 22 23:15:15 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.4-2
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
* Thu May 30 21:07:34 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.4-1
|
|
|
|
- Initial package
|