日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。
Revision | 281b3a3eb19383948f6ab31561e924578fd293fb (tree) |
---|---|
Zeit | 2018-08-10 18:27:50 |
Autor | Fumihisa TONAKA <fumi.ftnk@gmai...> |
Commiter | Fumihisa TONAKA |
SFEpostgres-10: bump to 10.5 and use jposug/library/editline
@@ -11,16 +11,11 @@ | ||
11 | 11 | %define _prefix /usr/postgres |
12 | 12 | %define _var_prefix /var/postgres |
13 | 13 | %define tarball_name postgresql |
14 | -%define tarball_version 10.4 | |
14 | +%define tarball_version 10.5 | |
15 | 15 | %define major_version 10 |
16 | 16 | %define prefix_name SFEpostgres-10 |
17 | 17 | %define _basedir %{_prefix}/%{major_version} |
18 | 18 | |
19 | -# after Oracle Solaris 11.2, | |
20 | -# - use library/libedit | |
21 | -# - SFEpostgres-common is not needed, because user and group 'postgres' exist. | |
22 | -%define after_oracle_solaris_11_2 %(egrep 'Oracle Solaris (11.[23]|12)' /etc/release > /dev/null ; if [ $? -eq 0 ]; then echo '1'; else echo '0'; fi) | |
23 | - | |
24 | 19 | Name: %{prefix_name}-client |
25 | 20 | IPS_package_name: database/postgres-10 |
26 | 21 | Summary: PostgreSQL client tools |
@@ -50,11 +45,7 @@ | ||
50 | 45 | BuildRequires: %{pnm_buildrequires_SUNWlibms} |
51 | 46 | BuildRequires: %{pnm_buildrequires_SUNWgss} |
52 | 47 | BuildRequires: %{pnm_buildrequires_SUNWTcl} |
53 | -%if %{after_oracle_solaris_11_2} | |
54 | -BuildRequires: library/libedit | |
55 | -%else | |
56 | -BuildRequires: SFEeditline | |
57 | -%endif | |
48 | +BuildRequires: jposug/library/editline | |
58 | 49 | |
59 | 50 | Requires: %{pnm_requires_SUNWlxsl} |
60 | 51 | Requires: %{pnm_requires_SUNWlxml} |
@@ -63,11 +54,7 @@ | ||
63 | 54 | Requires: %{pnm_requires_SUNWopenssl} |
64 | 55 | Requires: %{pnm_requires_SUNWlibms} |
65 | 56 | Requires: %{pnm_requires_SUNWgss} |
66 | -%if %{after_oracle_solaris_11_2} | |
67 | -Requires: library/libedit | |
68 | -%else | |
69 | -Requires: SFEeditline | |
70 | -%endif | |
57 | +Requires: jposug/library/editline | |
71 | 58 | |
72 | 59 | Requires: %{prefix_name}-libs |
73 | 60 |
@@ -133,11 +120,6 @@ | ||
133 | 120 | Requires: %{pnm_requires_SUNWlibms} |
134 | 121 | Requires: %{name} |
135 | 122 | Requires: %{prefix_name}-libs |
136 | -%if %{after_oracle_solaris_11_2} | |
137 | -# | |
138 | -%else | |
139 | -Requires: SFEpostgres-common | |
140 | -%endif | |
141 | 123 | |
142 | 124 | %package -n %{prefix_name}-contrib |
143 | 125 | IPS_package_name: database/postgres-10/contrib |
@@ -1311,6 +1293,8 @@ | ||
1311 | 1293 | %attr (0644, root, other) %{_prefix}/%{major_version}/share/locale/*/LC_MESSAGES/pg_archivecleanup-%{major_version}.mo |
1312 | 1294 | |
1313 | 1295 | %changelog |
1296 | +* Fri Aug 10 2018 - Fumihisa TONAKA <fumi.ftnk@gmail.com> | |
1297 | +- bump to 10.5 and use jposug/library/editline | |
1314 | 1298 | * Mon May 14 2018 - Fumihisa TONAKA <fumi.ftnk@gmail.com> |
1315 | 1299 | - bump to 10.4 and use gcc |
1316 | 1300 | * Fri Nov 10 2017 - Fumihisa TONAKA <fumi.ftnk@gmail.com> |