Fixed building on modern versions of Fedora.
diff --git a/rpm/SPECS/nginx.spec.in b/rpm/SPECS/nginx.spec.in
index ee5ad54..51b5594 100644
--- a/rpm/SPECS/nginx.spec.in
+++ b/rpm/SPECS/nginx.spec.in
@@ -51,6 +51,14 @@
 %define _debugsource_template %{nil}
 %endif
 
+%if 0%{?fedora}
+%define _debugsource_template %{nil}
+%global _hardened_build 1
+%define _group System Environment/Daemons
+BuildRequires: openssl-devel
+Requires(pre): shadow-utils
+%endif
+
 # end of distribution specific definitions
 
 %define main_version %%BASE_VERSION%%