Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 78bb3add1e
commit 3a3ddd3c90
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
--- locale-0.2.2/Cargo.toml 1970-01-01T01:00:00+01:00 --- locale-0.2.2/Cargo.toml 1970-01-01T00:00:00+00:00
+++ locale-0.2.2/Cargo.toml 2018-11-14T13:30:03.963721+01:00 +++ locale-0.2.2/Cargo.toml 2019-07-14T17:29:22.161541+00:00
@@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
keywords = ["i18n", "g12n", "l10n"] keywords = ["i18n", "g12n", "l10n"]
license = "MIT" license = "MIT"

@ -1,29 +1,31 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate locale %global crate locale
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.2 Version: 0.2.2
Release: 6%{?dist} Release: 7%{?dist}
Summary: Library for basic localisation Summary: Library for basic localisation
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/locale URL: https://crates.io/crates/locale
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * Exclude CI files, https://github.com/rust-locale/rust-locale/pull/27 # * Exclude CI files, https://github.com/rust-locale/rust-locale/pull/27
Patch0: locale-fix-metadata.diff Patch0: locale-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
%global _description \ %global _description %{expand:
Library for basic localisation. Library for basic localisation. Warning: Major rewrite pending for 0.3!.}
%description %{_description} %description %{_description}
@ -54,9 +56,12 @@ which use "default" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -69,6 +74,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jul 14 19:29:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-7
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save