Do not try to remove files not installed actually
This commit is contained in:
parent
d12fb440d2
commit
7fb6fc9e9b
@ -671,10 +671,6 @@ rm $RPM_BUILD_ROOT/%_includedir/pg_config*.h
|
|||||||
rm $RPM_BUILD_ROOT/%_includedir/libpq/libpq-fs.h
|
rm $RPM_BUILD_ROOT/%_includedir/libpq/libpq-fs.h
|
||||||
rm $RPM_BUILD_ROOT/%_includedir/postgres_ext.h
|
rm $RPM_BUILD_ROOT/%_includedir/postgres_ext.h
|
||||||
rm -r $RPM_BUILD_ROOT/%_includedir/pgsql/internal/
|
rm -r $RPM_BUILD_ROOT/%_includedir/pgsql/internal/
|
||||||
rm $RPM_BUILD_ROOT/%_includedir/libpq-events.h
|
|
||||||
rm $RPM_BUILD_ROOT/%_includedir/libpq-fe.h
|
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/*.pc
|
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/libpq.so
|
|
||||||
%else
|
%else
|
||||||
ln -s pg_server_config $RPM_BUILD_ROOT/%_bindir/pg_config
|
ln -s pg_server_config $RPM_BUILD_ROOT/%_bindir/pg_config
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/libpq.a
|
rm $RPM_BUILD_ROOT/%{_libdir}/libpq.a
|
||||||
@ -824,6 +820,7 @@ find_lang_bins main.lst \
|
|||||||
%if ! %external_libpq
|
%if ! %external_libpq
|
||||||
libpq%{private_soname}-5
|
libpq%{private_soname}-5
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %plperl
|
%if %plperl
|
||||||
find_lang_bins plperl.lst plperl
|
find_lang_bins plperl.lst plperl
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user