diff --git a/postgresql.spec b/postgresql.spec index 41fcf52..4d87980 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -3,7 +3,7 @@ %define majver %(echo %version | cut -d. -f 1-2) Name: postgresql -Version: 9.6.5 +Version: 10.1 Release: 1mamba Summary: An object-relational database management system (ORDBMS) Group: Applications/Databases @@ -194,13 +194,15 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/postgresql #mv %{buildroot}%{_includedir}/postgresql/informix/esql/sqltypes.h \ # %{buildroot}%{_includedir}/postgresql/informix/esql/sqltypes-postgres.h -%define lang_files pg_basebackup pg_ctl psql plperl postgres plpgsql plpython pltcl pgscripts ecpg initdb pg_dump pg_config pg_controldata pg_resetxlog libpq5 ecpglib6 pg_rewind +%find_lang %{name} --with-qt --with-man --all-name || touch %{name}.lang -> %{name}-all.lang -for lang_file in %{lang_files} - do %find_lang ${lang_file}-%{majver} - cat ${lang_file}-%{majver}.lang >> %{name}-all.lang -done +#%define lang_files pg_basebackup pg_ctl psql plperl postgres plpgsql plpython pltcl pgscripts ecpg initdb pg_dump pg_config pg_controldata pg_resetxlog libpq5 ecpglib6 pg_rewind +# +#> %{name}-all.lang +#for lang_file in %{lang_files} +# do %find_lang ${lang_file}-%{majver} +# cat ${lang_file}-%{majver}.lang >> %{name}-all.lang +#done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -236,7 +238,7 @@ if [ $1 -eq 1 ]; then fi : -%files -f %{name}-all.lang +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/clusterdb %{_bindir}/create* @@ -295,7 +297,7 @@ fi %exclude %{_libdir}/postgresql/tablefunc.so #%exclude %{_libdir}/postgresql/test_parser.so %exclude %{_libdir}/postgresql/timetravel.so -%exclude %{_libdir}/postgresql/tsearch2.so +#%exclude %{_libdir}/postgresql/tsearch2.so #%exclude %{_libdir}/postgresql/pgxml.so %{_datadir}/postgresql/* @@ -317,9 +319,9 @@ fi %{_libdir}/pkgconfig/libpgtypes.pc %{_libdir}/pkgconfig/libpq.pc -%files tcltk -%defattr(-,root,root) -%{_bindir}/pltcl_* +#%files tcltk +#%defattr(-,root,root) +#%{_bindir}/pltcl_* #%{_bindir}/pgtclsh #%{_bindir}/pgtksh @@ -356,7 +358,7 @@ fi %{_libdir}/postgresql/tablefunc.so #%{_libdir}/postgresql/test_parser.so %{_libdir}/postgresql/timetravel.so -%{_libdir}/postgresql/tsearch2.so +#%{_libdir}/postgresql/tsearch2.so #%{_libdir}/postgresql/pgxml.so #%{_datadir}/pgsql/contrib/ %{_bindir}/oid2name @@ -377,6 +379,9 @@ fi %{_libdir}/postgresql/tutorial/* %changelog +* Sat Jan 13 2018 Automatic Build System 10.1-1mamba +- automatic version update by autodist + * Thu Sep 07 2017 Automatic Build System 9.6.5-1mamba - automatic version update by autodist