+%define keepstatic 1
%global multilib_arches %{ix86} x86_64
Name: libffi
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
+%package devel-static
+Summary: Development files for %{name}
+Requires: %{name}-devel = %{version}
+
+%description devel-static
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
%prep
%setup -q
-
%build
export LDFLAGS+="-Wl,-z,noexecstack"
-%reconfigure --disable-static
-make %{?_smp_mflags}
-
+%reconfigure
+%{__make} %{?_smp_mflags}
%install
%make_install
#%{_infodir}/libffi.info.gz
%changelog
+
+%files devel-static
+%defattr(-,root,root,-)
+%{_libdir}/*.a