diff --git a/zlib.spec b/zlib.spec index c52aafd..805b7a6 100644 --- a/zlib.spec +++ b/zlib.spec @@ -31,12 +31,10 @@ library. %build CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix} mv Makefile Makefile.shared -make -f Makefile.shared # now build the static lib CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} mv Makefile Makefile.static -make -f Makefile.static %install rm -rf ${RPM_BUILD_ROOT}