Use modern spec file macros

epel9
Benjamin A. Beasley 3 years ago
parent 9659574168
commit 5ef1ee8af6

@ -34,7 +34,7 @@ developing applications that use freexl.
%prep
%setup -q
%autosetup
# We want to install a “clean” version of the examples
mkdir -p clean
@ -45,8 +45,8 @@ rm -vf clean/examples/Makefile.*
%build
%configure --enable-gcov=no --disable-static
make %{?_smp_mflags}
%configure --disable-static
%make_build
# Mailed the author on Dec 5th 2011
# Preserve date of header file
@ -57,12 +57,11 @@ doxygen
%check
make check
%make_build check
%install
make install DESTDIR=%{buildroot}
%make_install
# Delete undesired libtool archives
find '%{buildroot}' -type f -name '*.la' -print -delete

Loading…
Cancel
Save