From 9b95ae890adec9addc9b4f80fb02f2ea21ce06bb Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Tue, 5 Mar 2019 20:28:19 +0100
Subject: [PATCH] Update to 0.2.50

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
 .gitignore             |  1 +
 .rust2rpm.conf         |  5 +++++
 libc-fix-metadata.diff |  4 ++--
 rust-libc.spec         | 12 +++++++-----
 sources                |  2 +-
 5 files changed, 16 insertions(+), 8 deletions(-)
 create mode 100644 .rust2rpm.conf

diff --git a/.gitignore b/.gitignore
index 050bffe..53297f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
 /libc-0.2.47.crate
 /libc-0.2.48.crate
 /libc-0.2.49.crate
+/libc-0.2.50.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..7bbe884
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+  glibc-devel
+lib.requires =
+  glibc-devel
diff --git a/libc-fix-metadata.diff b/libc-fix-metadata.diff
index 450f85d..df98a1b 100644
--- a/libc-fix-metadata.diff
+++ b/libc-fix-metadata.diff
@@ -1,5 +1,5 @@
---- libc-0.2.49/Cargo.toml	1969-12-31T16:00:00-08:00
-+++ libc-0.2.49/Cargo.toml	2019-02-22T14:37:30.558110-08:00
+--- libc-0.2.50/Cargo.toml	1970-01-01T01:00:00+01:00
++++ libc-0.2.50/Cargo.toml	2019-03-05T20:29:28.054747+01:00
 @@ -24,15 +24,11 @@
  categories = ["external-ffi-bindings", "no-std", "os"]
  license = "MIT OR Apache-2.0"
diff --git a/rust-libc.spec b/rust-libc.spec
index bd5c026..6d19203 100644
--- a/rust-libc.spec
+++ b/rust-libc.spec
@@ -6,9 +6,9 @@
 %global crate libc
 
 Name:           rust-%{crate}
-Version:        0.2.49
+Version:        0.2.50
 Release:        1%{?dist}
-Summary:        Library for types and bindings to native C functions
+Summary:        Raw FFI bindings to platform libraries like libc
 
 # Upstream license specification: MIT OR Apache-2.0
 License:        MIT or ASL 2.0
@@ -24,15 +24,14 @@ BuildRequires:  rust-packaging
 BuildRequires:  glibc-devel
 
 %global _description \
-A library for types and bindings to native C functions often found in libc or\
-other common platform libraries.
+Raw FFI bindings to platform libraries like libc.
 
 %description %{_description}
 
 %package        devel
 Summary:        %{summary}
-Requires:       glibc-devel
 BuildArch:      noarch
+Requires:       glibc-devel
 
 %description    devel %{_description}
 
@@ -108,6 +107,9 @@ which use "use_std" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Tue Mar 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.50-1
+- Update to 0.2.50
+
 * Fri Feb 22 2019 Josh Stone <jistone@redhat.com> - 0.2.49-1
 - Update to 0.2.49
 
diff --git a/sources b/sources
index 9c94681..e5baa07 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libc-0.2.49.crate) = 2a337c4574a226c600593ae7c78b7aa8da34881e0002872a362f34fc10e8b667d9425bbce8a39486c605f35676e43dc02717e2da68300da98e4e3728fb7056a1
+SHA512 (libc-0.2.50.crate) = 36a51f7925a1a4e670ed8783f63d7f2ab85d1382d0be29ab4fbf0d66b24e7d68d88bb9e320e9dff35a1e275c07afe672dd164d12cc2af8ee1bb57ef6d2aa4a30