name: bzip2 version: 1.0.6 release: 1 sources: https://downloads.sourceforge.net/project/bzip2/bzip2-%{version}.tar.gz options: - make install: PREFIX='%{pkg}/usr' @configure sed -i.orig -e '/^CFLAGS=/s/.*/CFLAGS = -O2 -fPIC/' bzip2-%{version}/Makefile