|
|
@ -1,13 +1,13 @@
|
|
|
|
# Generated by rust2rpm-9-1.fc31
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate object
|
|
|
|
%global crate object
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.12.0
|
|
|
|
Version: 0.17.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Unified interface for parsing object file formats
|
|
|
|
Summary: Unified interface for reading and writing object file formats
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
@ -15,27 +15,14 @@ URL: https://crates.io/crates/object
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(flate2/default) >= 1.0.0 with crate(flate2/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/archive) >= 0.0.22 with crate(goblin/archive) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/elf32) >= 0.0.22 with crate(goblin/elf32) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/elf64) >= 0.0.22 with crate(goblin/elf64) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/endian_fd) >= 0.0.22 with crate(goblin/endian_fd) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/mach32) >= 0.0.22 with crate(goblin/mach32) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/mach64) >= 0.0.22 with crate(goblin/mach64) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/pe32) >= 0.0.22 with crate(goblin/pe32) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/pe64) >= 0.0.22 with crate(goblin/pe64) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(goblin/std) >= 0.0.22 with crate(goblin/std) < 0.0.23)
|
|
|
|
|
|
|
|
BuildRequires: (crate(parity-wasm/default) >= 0.38.0 with crate(parity-wasm/default) < 0.39.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(uuid) >= 0.7.0 with crate(uuid) < 0.8.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(memmap/default) >= 0.7.0 with crate(memmap/default) < 0.8.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
A unified interface for parsing object file formats.
|
|
|
|
A unified interface for reading and writing object file formats.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -51,8 +38,8 @@ which use "%{crate}" crate.
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/coverage
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/coverage
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -64,7 +51,7 @@ This package contains library source intended for building other packages
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+compression-devel
|
|
|
|
%package -n %{name}+compression-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -76,7 +63,19 @@ This package contains library source intended for building other packages
|
|
|
|
which use "compression" feature of "%{crate}" crate.
|
|
|
|
which use "compression" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+compression-devel
|
|
|
|
%files -n %{name}+compression-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+crc32fast-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+crc32fast-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "crc32fast" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+crc32fast-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+flate2-devel
|
|
|
|
%package -n %{name}+flate2-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -88,7 +87,19 @@ This package contains library source intended for building other packages
|
|
|
|
which use "flate2" feature of "%{crate}" crate.
|
|
|
|
which use "flate2" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+flate2-devel
|
|
|
|
%files -n %{name}+flate2-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+indexmap-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+indexmap-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "indexmap" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+indexmap-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+parity-wasm-devel
|
|
|
|
%package -n %{name}+parity-wasm-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -100,7 +111,19 @@ This package contains library source intended for building other packages
|
|
|
|
which use "parity-wasm" feature of "%{crate}" crate.
|
|
|
|
which use "parity-wasm" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+parity-wasm-devel
|
|
|
|
%files -n %{name}+parity-wasm-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+read-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+read-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "read" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+read-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -112,7 +135,7 @@ This package contains library source intended for building other packages
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+wasm-devel
|
|
|
|
%package -n %{name}+wasm-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -124,12 +147,27 @@ This package contains library source intended for building other packages
|
|
|
|
which use "wasm" feature of "%{crate}" crate.
|
|
|
|
which use "wasm" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+wasm-devel
|
|
|
|
%files -n %{name}+wasm-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+write-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+write-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "write" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+write-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -142,6 +180,9 @@ which use "wasm" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Feb 19 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.12.0-3
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|