# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate libc Name: rust-%{crate} Version: 0.2.74 Release: 1%{?dist} Summary: Raw FFI bindings to platform libraries like libc # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/libc Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Raw FFI bindings to platform libraries like libc.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: glibc-devel %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %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}+align-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+align-devel %{_description} This package contains library source intended for building other packages which use "align" feature of "%{crate}" crate. %files -n %{name}+align-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+const-extern-fn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+const-extern-fn-devel %{_description} This package contains library source intended for building other packages which use "const-extern-fn" feature of "%{crate}" crate. %files -n %{name}+const-extern-fn-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+extra_traits-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+extra_traits-devel %{_description} This package contains library source intended for building other packages which use "extra_traits" feature of "%{crate}" crate. %files -n %{name}+extra_traits-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rustc-dep-of-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustc-dep-of-std-devel %{_description} This package contains library source intended for building other packages which use "rustc-dep-of-std" feature of "%{crate}" crate. %files -n %{name}+rustc-dep-of-std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rustc-std-workspace-core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustc-std-workspace-core-devel %{_description} This package contains library source intended for building other packages which use "rustc-std-workspace-core" feature of "%{crate}" crate. %files -n %{name}+rustc-std-workspace-core-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+use_std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_std-devel %{_description} This package contains library source intended for building other packages which use "use_std" feature of "%{crate}" crate. %files -n %{name}+use_std-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 echo 'glibc-devel' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Tue Jul 28 2020 Josh Stone - 0.2.74-1 - Update to 0.2.74 * Wed Jul 22 2020 Josh Stone - 0.2.73-1 - Update to 0.2.73 * Fri Jul 10 2020 Josh Stone - 0.2.72-1 - Update to 0.2.72 * Tue May 26 2020 Josh Stone - 0.2.71-1 - Update to 0.2.71 * Tue May 12 2020 Josh Stone - 0.2.70-1 - Update to 0.2.70 * Tue Apr 14 2020 Josh Stone - 0.2.69-1 - Update to 0.2.69 * Tue Mar 17 2020 Josh Stone - 0.2.68-1 - Update to 0.2.68 * Tue Mar 17 2020 Igor Raits - 0.2.67-2 - Add back missing subpackages * Fri Feb 21 2020 Josh Stone - 0.2.67-1 - Update to 0.2.67 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.66-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 02 08:21:51 CET 2019 Igor Gnatenko - 0.2.66-1 - Update to 0.2.66 * Fri Oct 25 19:18:53 CEST 2019 Igor Gnatenko - 0.2.65-1 - Update to 0.2.65 * Sun Aug 25 14:50:22 CEST 2019 Igor Gnatenko - 0.2.62-1 - Update to 0.2.62 * Sat Aug 03 15:45:53 CEST 2019 Igor Gnatenko - 0.2.60-1 - Update to 0.2.60 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.59-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 13 11:19:04 CEST 2019 Igor Gnatenko - 0.2.59-1 - Update to 0.2.59 * Thu Jun 20 12:27:42 CEST 2019 Igor Gnatenko - 0.2.58-3 - Regenerate * Sun Jun 09 11:39:04 CEST 2019 Igor Gnatenko - 0.2.58-2 - Regenerate * Mon Jun 03 2019 Josh Stone - 0.2.58-1 - Update to 0.2.58 * Sat Jun 01 2019 Josh Stone - 0.2.57-1 - Update to 0.2.57 * Thu May 02 2019 Josh Stone - 0.2.54-1 - Update to 0.2.54 * Fri Mar 29 17:59:24 CET 2019 Igor Gnatenko - 0.2.51-1 - Update to 0.2.51 * Tue Mar 05 2019 Igor Gnatenko - 0.2.50-1 - Update to 0.2.50 * Fri Feb 22 2019 Josh Stone - 0.2.49-1 - Update to 0.2.49 * Sat Feb 02 2019 Fedora Release Engineering - 0.2.48-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 23 2019 Josh Stone - 0.2.48-1 - Update to 0.2.48 * Mon Jan 14 2019 Josh Stone - 0.2.47-1 - Update to 0.2.47 * Tue Jan 08 2019 Josh Stone - 0.2.46-1 - Update to 0.2.46 * Mon Dec 10 2018 Josh Stone - 0.2.45-1 - Update to 0.2.45 * Mon Nov 26 2018 Josh Stone - 0.2.44-1 - Update to 0.2.44 * Fri Oct 26 2018 Igor Gnatenko - 0.2.43-3 - Adapt to new packaging * Sun Oct 07 2018 Igor Gnatenko - 0.2.43-2 - Run tests in infrastructure * Tue Aug 07 2018 Josh Stone - 0.2.43-1 - Update to 0.2.43 * Sat Jul 14 2018 Fedora Release Engineering - 0.2.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 05 2018 Josh Stone - 0.2.42-1 - Update to 0.2.42 * Fri May 25 2018 Josh Stone - 0.2.41-1 - Update to 0.2.41 * Mon Mar 26 2018 Josh Stone - 0.2.40-1 - Update to 0.2.40 * Tue Mar 06 2018 Josh Stone - 0.2.39-1 - Update to 0.2.39 * Tue Feb 27 2018 Josh Stone - 0.2.37-1 - Update to 0.2.37 * Fri Feb 09 2018 Fedora Release Engineering - 0.2.36-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 13 2018 Igor Gnatenko - 0.2.36-1 - Update to 0.2.36 * Mon Jan 08 2018 Igor Gnatenko - 0.2.35-2 - Rebuild for rust-packaging v5 * Thu Jan 04 2018 Igor Gnatenko - 0.2.35-1 - Update to 0.2.35 * Thu Nov 30 2017 Igor Gnatenko - 0.2.34-1 - Update to 0.2.34 * Mon Nov 20 2017 Igor Gnatenko - 0.2.33-2 - Add BuildRequires/Requires for glibc-devel * Wed Nov 01 2017 Igor Gnatenko - 0.2.33-1 - Update to 0.2.33 * Fri Oct 27 2017 Igor Gnatenko - 0.2.32-1 - Update to 0.2.32 * Fri Jul 21 2017 Igor Gnatenko - 0.2.26-1 - Update to 0.2.26 * Fri Jul 07 2017 Igor Gnatenko - 0.2.25-1 - Update to 0.2.25 * Sun Jun 25 2017 Igor Gnatenko - 0.2.24-1 - Update to 0.2.24 * Wed Jun 14 2017 Igor Gnatenko - 0.2.23-1 - Update to 0.2.23 * Wed Jun 14 2017 Igor Gnatenko - 0.2.21-2 - Port to use rust-packaging * Sun Mar 05 2017 Igor Gnatenko - 0.2.21-1 - Update to 0.2.21 * Fri Feb 24 2017 Igor Gnatenko - 0.2.20-3 - Strip unneeded files * Sun Feb 12 2017 Igor Gnatenko - 0.2.20-2 - Add license files - Fix license tag * Sun Feb 12 2017 Igor Gnatenko - 0.2.20-1 - Initial package