diff --git a/openblas.spec b/openblas.spec index ed64287..5cdb2cb 100644 --- a/openblas.spec +++ b/openblas.spec @@ -546,8 +546,8 @@ done # Get rid of generated CMake config rm -rf %{buildroot}%{_libdir}/cmake -# Get rid of generated pkgconfig file -rm %{buildroot}/usr/lib/pkgconfig/openblas.pc +# Get rid of generated pkgconfig +rm -rf %{buildroot}%{_libdir}/pkgconfig %post -p /sbin/ldconfig %postun -p /sbin/ldconfig