Reinhard Max 2010-03-11 17:25:26 +00:00 committed by Git OBS Bridge
parent dbca4fa8fc
commit 9edad88af5
5 changed files with 36 additions and 15 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 11 18:24:28 CET 2010 - max@suse.de
- Disable GSSAPI, XML, kerberos and make check in OBS for SLES9.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 9 14:11:37 CET 2010 - max@suse.de Tue Feb 9 14:11:37 CET 2010 - max@suse.de

View File

@ -15,12 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: postgresql-pl Name: postgresql-pl
BuildRequires: bison flex gettext-devel krb5-devel libxml2-devel libxslt-devel BuildRequires: bison flex gettext-devel
BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel zlib-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
%if 0%{?suse_version} > 910
BuildRequires: krb5-devel libxslt-devel
%endif
BuildRequires: python-devel tcl-devel BuildRequires: python-devel tcl-devel
Summary: The PL/Tcl, PL/Perl, and PL/Python Procedural Languages for PostgreSQL Summary: The PL/Tcl, PL/Perl, and PL/Python Procedural Languages for PostgreSQL
Version: 8.4.2 Version: 8.4.2
@ -133,11 +134,13 @@ export CFLAGS="%optflags $SP"
--with-tclconfig=%_libdir \ --with-tclconfig=%_libdir \
--with-openssl \ --with-openssl \
--with-pam \ --with-pam \
--with-ldap \
%if 0%{?suse_version} > 910
--with-krb5 \ --with-krb5 \
--with-gssapi \ --with-gssapi \
--with-ldap \
--with-libxml \ --with-libxml \
--with-libxslt \ --with-libxslt \
%endif
--with-system-tzdata=/usr/share/zoneinfo --with-system-tzdata=/usr/share/zoneinfo
# fmgroids.h is needed for plperl # fmgroids.h is needed for plperl
make -C src/backend ../../src/include/utils/fmgroids.h make -C src/backend ../../src/include/utils/fmgroids.h

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 11 18:23:38 CET 2010 - max@suse.de
- Disable GSSAPI, XML, kerberos and make check in OBS for SLES9.
-------------------------------------------------------------------
Thu Mar 11 17:57:38 CET 2010 - max@suse.de
- Fix build for SLES9
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 9 14:42:29 CET 2010 - max@suse.de Tue Feb 9 14:42:29 CET 2010 - max@suse.de

View File

@ -15,13 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: postgresql Name: postgresql
BuildRequires: bison flex gettext-devel krb5-devel libxslt-devel BuildRequires: bison flex gettext-devel
BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel zlib-devel BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel zlib-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
%if 0%{?suse_version} > 910
BuildRequires: krb5-devel libxslt-devel
%endif
Summary: Basic Clients and Utilities for PostgreSQL Summary: Basic Clients and Utilities for PostgreSQL
Version: 8.4.2 Version: 8.4.2
Release: 3 Release: 3
@ -164,7 +164,7 @@ which will interact with a PostgreSQL server.
%patch1 %patch1
%patch2 %patch2
# apply the following patch only on SLE10 # apply the following patch only on SLE10
%if %suse_version == 1010 %if 0%{?suse_version} == 1010
%patch3 -p1 %patch3 -p1
%endif %endif
@ -189,17 +189,19 @@ export CFLAGS="%optflags $SP"
--without-tcl \ --without-tcl \
--with-openssl \ --with-openssl \
--with-pam \ --with-pam \
--with-krb5 \
--with-gssapi \
--with-ldap \ --with-ldap \
%if 0%{?suse_version} > 910
--with-gssapi \
--with-libxml \ --with-libxml \
--with-libxslt \ --with-libxslt \
--with-krb5 \
%endif
--with-system-tzdata=/usr/share/zoneinfo --with-system-tzdata=/usr/share/zoneinfo
make %{?jobs:-j%jobs} all make %{?jobs:-j%jobs} all
make %{?jobs:-j%jobs} -C contrib all make %{?jobs:-j%jobs} -C contrib all
# #
%ifnarch %arm %ifnarch %arm
%if 0%{?suse_version} > 910
%check %check
# #
# Run the regression tests. # Run the regression tests.
@ -213,6 +215,7 @@ make check || {
exit 1 exit 1
} }
%endif %endif
%endif
%install %install
make DESTDIR=%buildroot install make DESTDIR=%buildroot install
@ -233,7 +236,7 @@ do
done done
install -m 755 %{SOURCE9} %buildroot/etc/init.d/postgresql install -m 755 %{SOURCE9} %buildroot/etc/init.d/postgresql
install -m 644 %{SOURCE8} %buildroot/var/adm/fillup-templates/sysconfig.postgresql install -m 644 %{SOURCE8} %buildroot/var/adm/fillup-templates/sysconfig.postgresql
%if 0%suse_version > 1020 %if 0%{?suse_version} > 1020
install -m 644 %SOURCE16 %buildroot/etc/sysconfig/SuSEfirewall2.d/services/postgresql install -m 644 %SOURCE16 %buildroot/etc/sysconfig/SuSEfirewall2.d/services/postgresql
%endif %endif
ln -s ../../etc/init.d/postgresql %buildroot/usr/sbin/rcpostgresql ln -s ../../etc/init.d/postgresql %buildroot/usr/sbin/rcpostgresql
@ -367,7 +370,7 @@ rm -f %my_provides
%defattr(-,root,root) %defattr(-,root,root)
%config /etc/init.d/postgresql %config /etc/init.d/postgresql
%config /var/adm/fillup-templates/sysconfig.postgresql %config /var/adm/fillup-templates/sysconfig.postgresql
%if 0%suse_version > 1020 %if 0%{?suse_version} > 1020
%config /etc/sysconfig/SuSEfirewall2.d/services/postgresql %config /etc/sysconfig/SuSEfirewall2.d/services/postgresql
%endif %endif
%_sbindir/rcpostgresql %_sbindir/rcpostgresql

0
ready
View File