Initial package after unretirement (rhbz#2242625)

epel9 imports/e9/rust-unic-ucd-category-0.9.0-11.el9
blinxen 1 year ago
parent 640da9ac7d
commit ae740d7349

2
.gitignore vendored

@ -1 +1,3 @@
/unic-ucd-category-0.9.0.crate
/LICENSE-APACHE
/LICENSE-MIT

@ -1,3 +0,0 @@
# rust-unic-ucd-category
The rust-unic-ucd-category package

@ -0,0 +1,23 @@
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 11:41:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
- Initial package

@ -1,27 +1,23 @@
# Generated by rust2rpm 9
%bcond_with check
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate unic-ucd-category
Name: rust-%{crate}
Name: rust-unic-ucd-category
Version: 0.9.0
Release: 8%{?dist}
Release: %autorelease
Summary: UNIC — Unicode Character Database — General Category
# Upstream license specification: MIT/Apache-2.0
# https://github.com/open-i18n/rust-unic/issues/267
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/unic-ucd-category
Source: %{crates_source}
# See https://github.com/open-i18n/rust-unic/pull/285
Source1: https://raw.githubusercontent.com/open-i18n/rust-unic/v%{version}/LICENSE-MIT
Source2: https://raw.githubusercontent.com/open-i18n/rust-unic/v%{version}/LICENSE-APACHE
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0)
BuildRequires: (crate(unic-char-property/default) >= 0.9.0 with crate(unic-char-property/default) < 0.10.0)
BuildRequires: (crate(unic-char-range/default) >= 0.9.0 with crate(unic-char-range/default) < 0.10.0)
BuildRequires: (crate(unic-ucd-version/default) >= 0.9.0 with crate(unic-ucd-version/default) < 0.10.0)
BuildRequires: rust-packaging >= 21
%global _description %{expand:
UNIC — Unicode Character Database — General Category.}
@ -34,11 +30,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%{cargo_registry}/%{crate}-%{version}/
%license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/LICENSE-APACHE
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,16 +44,22 @@ 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.
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 %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
# Add license Files
cp %{SOURCE1} .
cp %{SOURCE2} .
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -68,26 +72,4 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 11:41:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
- Initial package
%autochangelog

@ -1 +1,3 @@
SHA512 (LICENSE-APACHE) = 175a88be0fdec82e81809921d4e03113c369534f7c1de0594438af5b0c596f26cb713ae0de52de682dbbf725a88340d051631577e10b0092c17b9b04465de3c8
SHA512 (LICENSE-MIT) = e8ce24eee18dd6bd08299c59c1026a537feac332c3de1bba196739864d5a8f616e22fe4fc23688fb105eb702825e538cba5ac705e5e8f5a41fe1657f05277d07
SHA512 (unic-ucd-category-0.9.0.crate) = 24ca8b05b5d7d445076b95f0e994d4dc3f47757fcc73f8ece5812359cec3bd510dcddfc47657b7e90b51c0ba3f37d16d3b4417c11a1c6e0f167ca683fd71f6bf

Loading…
Cancel
Save