Compare commits

...

No commits in common. 'i10ce' and 'epel9' have entirely different histories.
i10ce ... epel9

10
.gitignore vendored

@ -1 +1,9 @@
SOURCES/mime-0.3.17.crate /mime-0.3.5.crate
/mime-0.3.7.crate
/mime-0.3.8.crate
/mime-0.3.9.crate
/mime-0.3.12.crate
/mime-0.3.13.crate
/mime-0.3.14.crate
/mime-0.3.16.crate
/mime-0.3.17.crate

@ -1 +0,0 @@
8cbf0dd319618c8ae3ac4df0f29ae274d0a8e4a1 SOURCES/mime-0.3.17.crate

@ -1,99 +1,3 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
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
%bcond_without check
%global debug_package %{nil}
%global crate mime
Name: rust-mime
Version: 0.3.17
Release: %autorelease
Summary: Strongly Typed Mimes
License: MIT OR Apache-2.0
URL: https://crates.io/crates/mime
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Strongly Typed Mimes.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CONTRIBUTING.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
%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
# * skip a broken test: https://github.com/hyperium/mime/issues/146
%cargo_test -- -- --skip parse::test_parse_iterator_all_invalid
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.3.17-4
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Mar 21 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.17-1
- Update to version 0.3.17; Fixes RHBZ#2180062
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.16-8 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.16-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
@ -165,5 +69,3 @@ use the "default" feature of the "%{crate}" crate.
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-1 * Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-1
- Initial package - Initial package
## END: Generated by rpmautospec

@ -0,0 +1,71 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate mime
Name: rust-mime
Version: 0.3.17
Release: %autorelease
Summary: Strongly Typed Mimes
License: MIT OR Apache-2.0
URL: https://crates.io/crates/mime
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Strongly Typed Mimes.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CONTRIBUTING.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
%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
# * skip a broken test: https://github.com/hyperium/mime/issues/146
%cargo_test -- -- --skip parse::test_parse_iterator_all_invalid
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (mime-0.3.17.crate) = e6d2ca92bb58fc747c1bb65a7f9023e5dbf4b94966003a72e4913bcaaeccdd6752725cdbd5081e0fd69d9e8f364d79664fcbe70061737d5c39e5b3e3a154a0d1
Loading…
Cancel
Save