You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
314 lines
9.4 KiB
314 lines
9.4 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.3.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 1;
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
print(release_number + base_release_number - 1);
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
## END: Set by rpmautospec
|
|
|
|
# Generated by rust2rpm 24
|
|
# * files that are required for unit tests are not included in published crates
|
|
%bcond_with check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate goblin
|
|
|
|
Name: rust-goblin
|
|
Version: 0.7.1
|
|
Release: %autorelease
|
|
Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate
|
|
|
|
License: MIT
|
|
URL: https://crates.io/crates/goblin
|
|
Source: %{crates_source}
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
%global _description %{expand:
|
|
An impish, cross-platform, ELF, Mach-o, and PE binary parsing and
|
|
loading crate.}
|
|
|
|
%description %{_description}
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "%{crate}" crate.
|
|
|
|
%files devel
|
|
%license %{crate_instdir}/LICENSE
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
%doc %{crate_instdir}/README.md
|
|
%{crate_instdir}/
|
|
|
|
%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 the "default" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+alloc-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+alloc-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+archive-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+archive-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "archive" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+archive-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+elf32-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+elf32-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "elf32" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+elf32-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+elf64-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+elf64-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "elf64" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+elf64-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+endian_fd-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+endian_fd-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "endian_fd" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+endian_fd-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+log-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+log-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "log" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+log-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+mach32-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+mach32-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "mach32" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+mach32-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+mach64-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+mach64-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "mach64" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+mach64-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+pe32-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+pe32-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "pe32" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+pe32-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+pe64-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+pe64-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "pe64" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+pe64-devel
|
|
%ghost %{crate_instdir}/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 the "std" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+std-devel
|
|
%ghost %{crate_instdir}/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
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.7.1-1
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
* Thu Aug 03 2023 Fabio Valentini <decathorpe@gmail.com> - 0.7.1-1
|
|
- Update to version 0.7.1; Fixes RHBZ#2214137
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Mon Apr 17 2023 Fabio Valentini <decathorpe@gmail.com> - 0.6.1-1
|
|
- Update to version 0.6.1; Fixes RHBZ#2137204
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Tue Aug 16 2022 Fabio Valentini <decathorpe@gmail.com> - 0.5.4-1
|
|
- Update to version 0.5.4; Fixes RHBZ#2118220
|
|
|
|
* Sun Jul 24 2022 Fabio Valentini <decathorpe@gmail.com> - 0.5.3-1
|
|
- Update to version 0.5.3; Fixes RHBZ#1901843
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-5
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-3
|
|
- Second attempt - Rebuilt for
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Mon May 11 2020 Josh Stone <jistone@redhat.com> - 0.2.3-1
|
|
- Update to 0.2.3
|
|
|
|
* Tue Mar 17 2020 Josh Stone <jistone@redhat.com> - 0.2.1-1
|
|
- Update to 0.2.1
|
|
|
|
* Wed Feb 26 2020 Josh Stone <jistone@redhat.com> - 0.2.0-1
|
|
- Update to 0.2.0
|
|
|
|
* Wed Feb 19 2020 Josh Stone <jistone@redhat.com> - 0.1.3-1
|
|
- Update to 0.1.3
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.22-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.22-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sat Apr 20 17:38:28 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.22-1
|
|
- Update to 0.0.22
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.19-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Tue Nov 27 2018 Josh Stone <jistone@redhat.com> - 0.0.19-1
|
|
- Update to 0.0.19
|
|
|
|
* Tue Nov 13 2018 Josh Stone <jistone@redhat.com> - 0.0.17-2
|
|
- Adapt to new packaging
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.17-1
|
|
- Update to 0.0.17
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.15-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Mon Apr 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.15-1
|
|
- Update to 0.0.15
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.14-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.14-2
|
|
- Bump scroll to 0.9
|
|
|
|
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.14-1
|
|
- Update to 0.0.14
|
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.13-2
|
|
- Rebuild for rust-packaging v5
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.13-1
|
|
- Update to 0.0.13
|
|
|
|
* Mon Dec 04 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.12-2
|
|
- Fix tests
|
|
|
|
* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.12-1
|
|
- Initial package
|
|
|