]> TLD Linux GIT Repositories - packages/postgresql.git/commitdiff
- fix cleanup path
authorMarcin Krol <hawk@tld-linux.org>
Thu, 23 Aug 2018 11:31:31 +0000 (11:31 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 23 Aug 2018 11:31:31 +0000 (11:31 +0000)
postgresql.spec

index dc291b8b7b7d0f16cb5717d201267a7f85074414..c2321792a923ed64e7dd21f211e7f2e6b7cb52cd 100644 (file)
@@ -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