Extend 1021dc60a77c to module packages as well.
diff --git a/rpm/SPECS/nginx-module.spec.in b/rpm/SPECS/nginx-module.spec.in
index 18fce61..bdf0f33 100644
--- a/rpm/SPECS/nginx-module.spec.in
+++ b/rpm/SPECS/nginx-module.spec.in
@@ -2,7 +2,7 @@
 %define nginx_user nginx
 %define nginx_group nginx
 
-%if 0%{?rhel} || 0%{?amzn}
+%if 0%{?rhel} || 0%{?amzn} || 0%{?fedora}
 %define _group System Environment/Daemons
 BuildRequires: openssl-devel
 %endif
@@ -25,6 +25,11 @@
 %define _debugsource_template %{nil}
 %endif
 
+%if 0%{?fedora}
+%define _debugsource_template %{nil}
+%global _hardened_build 1
+%endif
+
 %%MODULE_DEFINITIONS%%
 
 %define base_version %%BASE_VERSION%%