|
|
|
# Generated by rust2rpm 16
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
%global crate nix
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.20.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Rust friendly bindings to *nix APIs
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/nix
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# * No dragonfly/freebsd
|
|
|
|
Patch0: nix-fix-metadata.diff
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Rust friendly bindings to *nix APIs.}
|
|
|
|
|
|
|
|
%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
|
|
|
|
%doc CHANGELOG.md CONTRIBUTING.md CONVENTIONS.md 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
|
|
|
|
|
|
|
|
%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
|
|
|
|
# Testing parts are not distributed
|
|
|
|
%cargo_test -- --doc
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 25 2021 Fabio Valentini <decathorpe@gmail.com> - 0.20.0-1
|
|
|
|
- Update to version 0.20.0.
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Dec 27 11:27:36 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.19.1-1
|
|
|
|
- Update to 0.19.1 (Fixes: RHBZ#1887620)
|
|
|
|
|
|
|
|
* Sun Oct 04 2020 Fabio Valentini <decathorpe@gmail.com> - 0.18.0-1
|
|
|
|
- Update to version 0.18.0.
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 21 2020 Josh Stone <jistone@redhat.com> - 0.17.0-1
|
|
|
|
- Update to 0.17.0
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 09 2020 Josh Stone <jistone@redhat.com> - 0.16.1-1
|
|
|
|
- Update to 0.16.1
|
|
|
|
|
|
|
|
* Sun Sep 08 16:09:30 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.0-1
|
|
|
|
- Update to 0.15.0
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 22 11:09:21 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.1-3
|
|
|
|
- Enable tests
|
|
|
|
|
|
|
|
* Fri Jun 21 22:39:37 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.1-2
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 0.14.1-1
|
|
|
|
- Update to 0.14.1
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Josh Stone <jistone@redhat.com> - 0.14.0-1
|
|
|
|
- Update to 0.14.0
|
|
|
|
|
|
|
|
* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.13.0-2
|
|
|
|
- Run tests in infrastructure
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-4
|
|
|
|
- Exclude CI files in a different way
|
|
|
|
|
|
|
|
* Mon Oct 29 2018 Josh Stone <jistone@redhat.com> - 0.11.0-3
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-2
|
|
|
|
- Rebuild to trigger tests
|
|
|
|
|
|
|
|
* Tue Jul 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-1
|
|
|
|
- Update to 0.11.0
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-4
|
|
|
|
- Adopt to new macro
|
|
|
|
|
|
|
|
* Fri May 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-3
|
|
|
|
- Bump tempfile to 3
|
|
|
|
|
|
|
|
* Thu Mar 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-2
|
|
|
|
- Re-apply statvfs patch
|
|
|
|
|
|
|
|
* Thu Mar 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-1
|
|
|
|
- Update to 0.10.0
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-4
|
|
|
|
- Rebuild for rust-packaging v5
|
|
|
|
|
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-3
|
|
|
|
- Implement statfs/statvfs on altarches
|
|
|
|
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
|
|
|
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
|
|
|
|
- Initial package
|