From: Marcin Krol Date: Thu, 23 Aug 2018 11:31:31 +0000 (+0000) Subject: - fix cleanup path X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=4bca851f304df1dead803ed2e5a1ae9f1839e4b4;p=packages%2Fpostgresql.git - fix cleanup path --- diff --git a/postgresql.spec b/postgresql.spec index dc291b8..c232179 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -614,7 +614,7 @@ cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgversio # remove common files provided by PostgreSQL from master branch %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal} %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*} -%{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/share/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*} +%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*} %clean rm -rf $RPM_BUILD_ROOT