From 7fb6fc9e9b7550b98f9fece1753a90007c0eb6c7 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Tue, 8 Jun 2021 11:00:48 +0200 Subject: [PATCH] Do not try to remove files not installed actually --- postgresql.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/postgresql.spec b/postgresql.spec index 99dfa3c..f0cbb86 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -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/postgres_ext.h 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 ln -s pg_server_config $RPM_BUILD_ROOT/%_bindir/pg_config rm $RPM_BUILD_ROOT/%{_libdir}/libpq.a @@ -824,6 +820,7 @@ find_lang_bins main.lst \ %if ! %external_libpq libpq%{private_soname}-5 %endif + %if %plperl find_lang_bins plperl.lst plperl %endif