diff --git a/.gitignore b/.gitignore
index 274354b..74ba515 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /rand_distr-0.3.0.crate
 /rand_distr-0.4.0.crate
 /rand_distr-0.4.1.crate
+/rand_distr-0.4.2.crate
diff --git a/rust-rand_distr.spec b/rust-rand_distr.spec
index 3531a29..919d08f 100644
--- a/rust-rand_distr.spec
+++ b/rust-rand_distr.spec
@@ -1,11 +1,12 @@
-# Generated by rust2rpm 17
-%bcond_without check
+# Generated by rust2rpm 18
+# * special dev-dependency is not packaged
+%bcond_with check
 %global debug_package %{nil}
 
 %global crate rand_distr
 
 Name:           rust-%{crate}
-Version:        0.4.1
+Version:        0.4.2
 Release:        %autorelease
 Summary:        Sampling from random number distributions
 
@@ -64,6 +65,30 @@ which use "alloc" feature of "%{crate}" crate.
 %files       -n %{name}+alloc-devel
 %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
 
+%package     -n %{name}+serde-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "serde" feature of "%{crate}" crate.
+
+%files       -n %{name}+serde-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package     -n %{name}+serde1-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+serde1-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "serde1" feature of "%{crate}" crate.
+
+%files       -n %{name}+serde1-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
 %package     -n %{name}+std-devel
 Summary:        %{summary}
 BuildArch:      noarch
diff --git a/sources b/sources
index b587fdb..5efb312 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rand_distr-0.4.1.crate) = e5ef15e3dd9d537310f59f33b7e76c789f724e20d2fb4e43b4972b1dcb91bb8feb91e00ec1172fe8e4193e089cca4ad07a58dcb940948b84d4f78c5dc0b6f63e
+SHA512 (rand_distr-0.4.2.crate) = 7651e1776ec2405240979a9090a9609410bf628dc7d0eece28d80b2e8e4047eaca4b3d1f277967e643a2395b62996ed6e3eae23b58251f02223d9642b41ff425