tests: fix ini generator
Version: 09.05.0100-1
This commit is contained in:
parent
d975a90b5e
commit
432304c9b9
@ -36,6 +36,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
%global testsuitedir %{_libdir}/%{name}
|
%global testsuitedir %{_libdir}/%{name}
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/%{testsuitedir}
|
install -d -m 755 $RPM_BUILD_ROOT/%{testsuitedir}
|
||||||
cp -R test $RPM_BUILD_ROOT/%{testsuitedir}
|
cp -R test $RPM_BUILD_ROOT/%{testsuitedir}
|
||||||
|
sed -i 's~^drvr=.*~drvr=%{_libdir}/psqlodbc~' $RPM_BUILD_ROOT/%{testsuitedir}/test/odbcini-gen.sh
|
||||||
|
|
||||||
# Provide the old library name "psqlodbc.so" as a symlink,
|
# Provide the old library name "psqlodbc.so" as a symlink,
|
||||||
# and remove the rather useless .la file
|
# and remove the rather useless .la file
|
||||||
@ -48,6 +49,7 @@ popd
|
|||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%package tests
|
%package tests
|
||||||
Summary: Testsuite files for psqlodbc
|
Summary: Testsuite files for psqlodbc
|
||||||
Requires: postgresql-test
|
Requires: postgresql-test
|
||||||
|
Loading…
Reference in New Issue
Block a user