Upgrade dependencies

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-19 04:27:19 +02:00
parent 96390d3d62
commit cea89a8184
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -24,14 +24,14 @@ BuildRequires: (crate(crc) >= 1.0.0 with crate(crc) < 2.0.0)
BuildRequires: (crate(dbus) >= 0.6.1 with crate(dbus) < 0.7.0) BuildRequires: (crate(dbus) >= 0.6.1 with crate(dbus) < 0.7.0)
BuildRequires: (crate(devicemapper) >= 0.22.0 with crate(devicemapper) < 0.23.0) BuildRequires: (crate(devicemapper) >= 0.22.0 with crate(devicemapper) < 0.23.0)
BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0) BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0)
BuildRequires: (crate(error-chain) >= 0.11.0 with crate(error-chain) < 0.12.0) BuildRequires: (crate(error-chain) >= 0.12.0 with crate(error-chain) < 0.13.0)
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
BuildRequires: (crate(libc) >= 0.2.36 with crate(libc) < 0.3.0) BuildRequires: (crate(libc) >= 0.2.36 with crate(libc) < 0.3.0)
BuildRequires: (crate(libmount) >= 0.1.10 with crate(libmount) < 0.2.0) BuildRequires: (crate(libmount) >= 0.1.10 with crate(libmount) < 0.2.0)
BuildRequires: (crate(libudev) >= 0.2.0 with crate(libudev) < 0.3.0) BuildRequires: (crate(libudev) >= 0.2.0 with crate(libudev) < 0.3.0)
BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
BuildRequires: (crate(macro-attr) >= 0.2.0 with crate(macro-attr) < 0.3.0) BuildRequires: (crate(macro-attr) >= 0.2.0 with crate(macro-attr) < 0.3.0)
BuildRequires: (crate(nix) >= 0.10.0 with crate(nix) < 0.11.0) BuildRequires: (crate(nix) >= 0.11.0 with crate(nix) < 0.12.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0) BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
@ -55,6 +55,11 @@ Requires: device-mapper-persistent-data
%prep %prep
%autosetup -p1 %autosetup -p1
%cargo_prep %cargo_prep
# Upgrade dependencies, https://github.com/stratis-storage/stratisd/pull/1062
sed -i \
-e '/^nix = /s/".\+"/"0.11"/' \
-e '/^error-chain = /s/".\+"/"0.12"/' \
Cargo.toml
%build %build
%cargo_build %cargo_build
@ -92,6 +97,9 @@ mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init
%{_mandir}/man8/stratisd.8* %{_mandir}/man8/stratisd.8*
%changelog %changelog
* Thu Jul 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.4-2
- Upgrade dependencies
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-2 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild