]> TLD Linux GIT Repositories - packages/postgresql.git/commitdiff
- fix doc
authorMarcin Krol <hawk@tld-linux.org>
Tue, 2 Nov 2021 00:38:13 +0000 (01:38 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 2 Nov 2021 00:38:13 +0000 (01:38 +0100)
postgresql.spec

index d535a5a2a422620cf0b6ab9015dcc4f42afd64d0..fa7189b5da9349addfadca9e16bf54c891099fcb 100644 (file)
@@ -29,7 +29,7 @@ Summary(uk.UTF-8):    PostgreSQL - система керування базами 
 Summary(zh_CN.UTF-8):  PostgreSQL 客户端程序和库文件
 Name:          postgresql-%{pgsqlversion}
 Version:       %{pgsqlversion}.0
-Release:       1
+Release:       2
 License:       BSD
 Group:         Applications/Databases
 Source0:       http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
@@ -724,6 +724,7 @@ cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlver
 
 # package it...?  nah, why bother.
 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
+%{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/extension/*.example
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -1129,8 +1130,7 @@ fi
 
 %files contrib
 %defattr(644,root,root,755)
-%doc contrib/README
-%doc %{pgsqldatadir}/doc/extension/*.example
+%doc contrib/README contrib/spi/*.example
 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
 %attr(755,root,root) %{moduledir}/_int.so