The package rpms/rust-rand0.4.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-rand0.4.git/commit/?id=fcec6...
https://src.fedoraproject.org/cgit/rpms/rust-rand0.4.git/commit/?id=2bcff....
Change:
+ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2bcffbeb2e4469a343ec002888b0cd54f95d9d3f
Author: Josh Stone <jistone(a)redhat.com>
Date: Tue Jul 3 10:18:53 2018 -0700
Convert to a compat package
diff --git a/rust-rand.spec b/rust-rand.spec
deleted file mode 100644
index f299368..0000000
--- a/rust-rand.spec
+++ /dev/null
@@ -1,88 +0,0 @@
-# Generated by rust2rpm
-%bcond_without check
-%global debug_package %{nil}
-
-%global crate rand
-
-Name: rust-%{crate}
-Version: 0.4.2
-Release: 4%{?dist}
-Summary: Random number generators and other randomness functionality.
-
-License: MIT/Apache-2.0
-URL:
https://crates.io/crates/rand
-Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
-# Initial patched metadata
-# * Exclude python utilities
-Patch0: rand-0.4.2-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
-
-%description
-%{summary}.
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel
-Random number generators and other randomness functionality.
-
-This package contains library source intended for building other packages
-which use %{crate} from crates.io.
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc README.md CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version}/
-%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
-
-%changelog
-* Tue Feb 20 2018 Josh Stone <jistone(a)redhat.com> - 0.4.2-4
-- Exclude python2 utilities
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-2
-- Rebuild for rust-packaging v5
-
-* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-1
-- Update to 0.4.2
-
-* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.1-1
-- Update to 0.4.1
-
-* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.18-1
-- Update to 0.3.18
-
-* Fri Oct 27 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.17-1
-- Update to 0.3.17
-
-* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-3
-- Port to use rust-packaging
-
-* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-2
-- Use rich dependencies
-
-* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-1
-- Initial package
diff --git a/rust-rand0.4.spec b/rust-rand0.4.spec
new file mode 100644
index 0000000..b39d79b
--- /dev/null
+++ b/rust-rand0.4.spec
@@ -0,0 +1,88 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate rand
+
+Name: rust-%{crate}0.4
+Version: 0.4.2
+Release: 4%{?dist}
+Summary: Random number generators and other randomness functionality.
+
+License: MIT/Apache-2.0
+URL:
https://crates.io/crates/rand
+Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+# Initial patched metadata
+# * Exclude python utilities
+Patch0: rand-0.4.2-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Random number generators and other randomness functionality.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version}/
+%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
+
+%changelog
+* Tue Feb 20 2018 Josh Stone <jistone(a)redhat.com> - 0.4.2-4
+- Exclude python2 utilities
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-2
+- Rebuild for rust-packaging v5
+
+* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-1
+- Update to 0.4.2
+
+* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.1-1
+- Update to 0.4.1
+
+* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.18-1
+- Update to 0.3.18
+
+* Fri Oct 27 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.17-1
+- Update to 0.3.17
+
+* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-3
+- Port to use rust-packaging
+
+* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-2
+- Use rich dependencies
+
+* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-1
+- Initial package
commit 28f18b90a0d3ba59e6b14c68bc93a79dc931cac9
Merge: 2493214 56f495f
Author: Josh Stone <jistone(a)redhat.com>
Date: Tue Jul 3 09:38:29 2018 -0700
Merge rust-rand
commit 56f495f305a9602b3889d4f890a7dc3673b55c32
Author: Josh Stone <jistone(a)redhat.com>
Date: Tue Feb 20 00:39:40 2018 -0800
Exclude python2 utilities
diff --git a/rand-0.4.2-fix-metadata.diff b/rand-0.4.2-fix-metadata.diff
index 1c2d138..81c6ea2 100644
--- a/rand-0.4.2-fix-metadata.diff
+++ b/rand-0.4.2-fix-metadata.diff
@@ -1,6 +1,14 @@
--- rand-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00
+++ rand-0.4.2/Cargo.toml 2018-01-06T13:44:52.496038+01:00
-@@ -29,11 +29,6 @@
+@@ -22,6 +22,7 @@
+ categories = ["algorithms"]
+ license = "MIT/Apache-2.0"
+ repository = "https://github.com/rust-lang-nursery/rand"
++exclude = ["utils/*.py"]
+
+ [features]
+ alloc = []
+@@ -29,11 +30,6 @@
i128_support = []
nightly = ["i128_support"]
std = ["libc"]
diff --git a/rust-rand.spec b/rust-rand.spec
index 0c5f496..f299368 100644
--- a/rust-rand.spec
+++ b/rust-rand.spec
@@ -6,13 +6,14 @@
Name: rust-%{crate}
Version: 0.4.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Random number generators and other randomness functionality.
License: MIT/Apache-2.0
URL:
https://crates.io/crates/rand
Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
# Initial patched metadata
+# * Exclude python utilities
Patch0: rand-0.4.2-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@@ -56,6 +57,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
+* Tue Feb 20 2018 Josh Stone <jistone(a)redhat.com> - 0.4.2-4
+- Exclude python2 utilities
+
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 2591ec1495add47a1567ed93a3983e1a186c300d
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 9 15:41:40 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-rand.spec b/rust-rand.spec
index bbfcae3..0c5f496 100644
--- a/rust-rand.spec
+++ b/rust-rand.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Random number generators and other randomness functionality.
License: MIT/Apache-2.0
@@ -56,6 +56,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-2
- Rebuild for rust-packaging v5
commit 8683d0ad7f06f4e54d1ebba3ad2eac2a059f606a
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Mon Jan 8 21:18:13 2018 +0100
Rebuild for rust-packaging v5
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/rust-rand.spec b/rust-rand.spec
index b4b4d38..bbfcae3 100644
--- a/rust-rand.spec
+++ b/rust-rand.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Random number generators and other randomness functionality.
License: MIT/Apache-2.0
@@ -56,6 +56,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
+* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-2
+- Rebuild for rust-packaging v5
+
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-1
- Update to 0.4.2
commit 1665aa59013caedbb35e0566e179afafd3e11f73
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sat Jan 6 13:43:33 2018 +0100
Update to 0.4.2
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 2639215..e917cb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/rand-0.3.17.crate
/rand-0.3.18.crate
/rand-0.4.1.crate
+/rand-0.4.2.crate
diff --git a/rand-0.4.1-fix-metadata.diff b/rand-0.4.1-fix-metadata.diff
deleted file mode 100644
index 8b24d7f..0000000
--- a/rand-0.4.1-fix-metadata.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- rand-0.4.1/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ rand-0.4.1/Cargo.toml 2017-12-31T14:31:47.415154+01:00
-@@ -34,5 +34,3 @@
- i128_support = []
- nightly = ["i128_support"]
- std = ["libc"]
--[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
--version = "0.3"
diff --git a/rand-0.4.2-fix-metadata.diff b/rand-0.4.2-fix-metadata.diff
new file mode 100644
index 0000000..1c2d138
--- /dev/null
+++ b/rand-0.4.2-fix-metadata.diff
@@ -0,0 +1,14 @@
+--- rand-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00
++++ rand-0.4.2/Cargo.toml 2018-01-06T13:44:52.496038+01:00
+@@ -29,11 +29,6 @@
+ i128_support = []
+ nightly = ["i128_support"]
+ std = ["libc"]
+-[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
+-version = "0.3.2"
+ [target."cfg(unix)".dependencies.libc]
+ version = "0.2"
+ optional = true
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["minwindef", "ntsecapi", "profileapi",
"winnt"]
diff --git a/rust-rand.spec b/rust-rand.spec
index ca3e8c1..b4b4d38 100644
--- a/rust-rand.spec
+++ b/rust-rand.spec
@@ -5,26 +5,21 @@
%global crate rand
Name: rust-%{crate}
-Version: 0.4.1
+Version: 0.4.2
Release: 1%{?dist}
-Summary: Random number generators and other randomness functionality
+Summary: Random number generators and other randomness functionality.
-License: MIT or ASL 2.0
+License: MIT/Apache-2.0
URL:
https://crates.io/crates/rand
Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
# Initial patched metadata
-# * This OS doesn't sound related to Fedora
-Patch0: rand-0.4.1-fix-metadata.diff
+Patch0: rand-0.4.2-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
-%if %{with check}
-# [dev-dependencies]
-BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0)
-%endif
%description
%{summary}.
@@ -61,6 +56,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
+* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.2-1
+- Update to 0.4.2
+
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.1-1
- Update to 0.4.1
diff --git a/sources b/sources
index f9e781c..7e491ca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rand-0.4.1.crate) =
806d728d7b2de48d7cb9d3083861c23c37ab05967579d3853ed8f8ea27aa02167923c5e8c315680f0451dd7e228d75d96f3f4472ead9da6ccc3f8407843577f5
+SHA512 (rand-0.4.2.crate) =
ac6eaf9f0914fd966c835a04ec644c5a8d62a4a634187d538cecfb711955a977234dc5fe487cd4d351514bc0de4f51cbd0f09a8f6aac56aa0467ae5eb17a4fad
commit a29422e13b2ee7d7db27dfb12837cd9d4cbd9a53
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Dec 31 14:31:32 2017 +0100
Update to 0.4.1
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 4ad8c1b..2639215 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/rand-0.3.17.crate
/rand-0.3.18.crate
+/rand-0.4.1.crate
diff --git a/rand-0.3.18-fix-metadata.diff b/rand-0.3.18-fix-metadata.diff
deleted file mode 100644
index d55c8f0..0000000
--- a/rand-0.3.18-fix-metadata.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- rand-0.3.18/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ rand-0.3.18/Cargo.toml 2017-11-07T11:18:21.472457+01:00
-@@ -30,5 +30,3 @@
- [features]
- nightly = ["i128_support"]
- i128_support = []
--[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
--version = "^0.2.1"
diff --git a/rand-0.4.1-fix-metadata.diff b/rand-0.4.1-fix-metadata.diff
new file mode 100644
index 0000000..8b24d7f
--- /dev/null
+++ b/rand-0.4.1-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- rand-0.4.1/Cargo.toml 1970-01-01T01:00:00+01:00
++++ rand-0.4.1/Cargo.toml 2017-12-31T14:31:47.415154+01:00
+@@ -34,5 +34,3 @@
+ i128_support = []
+ nightly = ["i128_support"]
+ std = ["libc"]
+-[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
+-version = "0.3"
diff --git a/rust-rand.spec b/rust-rand.spec
index 7b96f7f..ca3e8c1 100644
--- a/rust-rand.spec
+++ b/rust-rand.spec
@@ -5,7 +5,7 @@
%global crate rand
Name: rust-%{crate}
-Version: 0.3.18
+Version: 0.4.1
Release: 1%{?dist}
Summary: Random number generators and other randomness functionality
@@ -14,7 +14,7 @@ URL:
https://crates.io/crates/rand
Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
# Initial patched metadata
# * This OS doesn't sound related to Fedora
-Patch0: rand-0.3.18-fix-metadata.diff
+Patch0: rand-0.4.1-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@@ -56,11 +56,14 @@ which use %{crate} from crates.io.
%files devel
%license LICENSE-MIT LICENSE-APACHE
-%doc README.md
+%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
+* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.4.1-1
+- Update to 0.4.1
+
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.18-1
- Update to 0.3.18
diff --git a/sources b/sources
index 0429a16..f9e781c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rand-0.3.18.crate) =
d9f69713af3af01b8bf1b54c97f8032c0eb2fd2ee0149542ba300949f54b13eeef403b26360c9fda266f6304e6455c79aa66d96a0599994c1e047206080ab182
+SHA512 (rand-0.4.1.crate) =
806d728d7b2de48d7cb9d3083861c23c37ab05967579d3853ed8f8ea27aa02167923c5e8c315680f0451dd7e228d75d96f3f4472ead9da6ccc3f8407843577f5
commit ec2be6a7b35feef0e678e85a0e3c7f5c33f72f44
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Nov 7 11:18:41 2017 +0100
Update to 0.3.18
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 4c5e78e..4ad8c1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/rand-0.3.17.crate
+/rand-0.3.18.crate
diff --git a/rand-0.3.17-fix-metadata.diff b/rand-0.3.17-fix-metadata.diff
deleted file mode 100644
index b14f334..0000000
--- a/rand-0.3.17-fix-metadata.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- rand-0.3.17/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ rand-0.3.17/Cargo.toml 2017-10-27T17:54:42.049784+02:00
-@@ -30,5 +30,3 @@
- [features]
- nightly = ["i128_support"]
- i128_support = []
--[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
--version = "^0.2.1"
diff --git a/rand-0.3.18-fix-metadata.diff b/rand-0.3.18-fix-metadata.diff
new file mode 100644
index 0000000..d55c8f0
--- /dev/null
+++ b/rand-0.3.18-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- rand-0.3.18/Cargo.toml 1970-01-01T01:00:00+01:00
++++ rand-0.3.18/Cargo.toml 2017-11-07T11:18:21.472457+01:00
+@@ -30,5 +30,3 @@
+ [features]
+ nightly = ["i128_support"]
+ i128_support = []
+-[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
+-version = "^0.2.1"
diff --git a/rust-rand.spec b/rust-rand.spec
index 3fc599f..7b96f7f 100644
--- a/rust-rand.spec
+++ b/rust-rand.spec
@@ -5,7 +5,7 @@
%global crate rand
Name: rust-%{crate}
-Version: 0.3.17
+Version: 0.3.18
Release: 1%{?dist}
Summary: Random number generators and other randomness functionality
@@ -14,7 +14,7 @@ URL:
https://crates.io/crates/rand
Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
# Initial patched metadata
# * This OS doesn't sound related to Fedora
-Patch0: rand-0.3.17-fix-metadata.diff
+Patch0: rand-0.3.18-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@@ -61,6 +61,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
+* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.18-1
+- Update to 0.3.18
+
* Fri Oct 27 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.17-1
- Update to 0.3.17
diff --git a/sources b/sources
index b8f2f68..0429a16 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rand-0.3.17.crate) =
0676001c491167785c7c158bea5e786fecfbb19ee11f6101094001e4702ef60f99832ad6d8d35c39ffd8bd6d799a8eae86486ab8fe8050ef49245e8726316937
+SHA512 (rand-0.3.18.crate) =
d9f69713af3af01b8bf1b54c97f8032c0eb2fd2ee0149542ba300949f54b13eeef403b26360c9fda266f6304e6455c79aa66d96a0599994c1e047206080ab182
commit fcec6631231358cc658e5bce16e7d71273e14524
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Oct 27 18:42:34 2017 +0200
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4c5e78e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/rand-0.3.17.crate
diff --git a/rand-0.3.17-fix-metadata.diff b/rand-0.3.17-fix-metadata.diff
new file mode 100644
index 0000000..b14f334
--- /dev/null
+++ b/rand-0.3.17-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- rand-0.3.17/Cargo.toml 1970-01-01T01:00:00+01:00
++++ rand-0.3.17/Cargo.toml 2017-10-27T17:54:42.049784+02:00
+@@ -30,5 +30,3 @@
+ [features]
+ nightly = ["i128_support"]
+ i128_support = []
+-[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
+-version = "^0.2.1"
diff --git a/rust-rand.spec b/rust-rand.spec
new file mode 100644
index 0000000..3fc599f
--- /dev/null
+++ b/rust-rand.spec
@@ -0,0 +1,74 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate rand
+
+Name: rust-%{crate}
+Version: 0.3.17
+Release: 1%{?dist}
+Summary: Random number generators and other randomness functionality
+
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/rand
+Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+# Initial patched metadata
+# * This OS doesn't sound related to Fedora
+Patch0: rand-0.3.17-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
+%if %{with check}
+# [dev-dependencies]
+BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0)
+%endif
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Random number generators and other randomness functionality.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
+
+%changelog
+* Fri Oct 27 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.17-1
+- Update to 0.3.17
+
+* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-3
+- Port to use rust-packaging
+
+* Fri Feb 24 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-2
+- Use rich dependencies
+
+* Sun Feb 12 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.15-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b8f2f68
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (rand-0.3.17.crate) =
0676001c491167785c7c158bea5e786fecfbb19ee11f6101094001e4702ef60f99832ad6d8d35c39ffd8bd6d799a8eae86486ab8fe8050ef49245e8726316937
commit f3bea8b5dd9f8f2c875493f5a008c077190e7ad2
Author: Gwyn Ciesla <limb(a)fedoraproject.org>
Date: Fri Oct 27 16:22:30 2017 +0000
Added the README
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..288d540
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# rust-rand
+
+The rust-rand package
\ No newline at end of file