Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=578024
--- Comment #17 from Jay Hankinson <jeremy.hankinson(a)ingres.com> 2010-06-02 18:36:21
EDT ---
(In reply to comment #15)
Apologies for the radio silence, I got pulled onto another project for a couple
of weeks. Thanks for your update, hopefully I can make some progress now.
Some easy fix issues:
1.Those lines should be removed from spec
# Requries changes from upstream but can be supported
ExcludeArch: ia64
# Not officially supported by upstream, but possible with some tweaking
ExcludeArch: ppc
# As ppc
ExcludeArch: ppc64
# Unsupported by upstream (although was previously)
ExcludeArch: S390
# Unsupported by upstream
ExcludeArch: ARM
# Unsupported by upstream
ExcludeArch: Parisc
# Unsupported by upstream
ExcludeArch: SPARC
Requires: %{_bindir}/sed
Requires: %{_bindir}/grep
Requires: /sbin/runuser
Requires: %{__tar}
Requires: %{_bindir}/ipcs
Requires: %{__awk}
Sure, although I added the ExcludeArch entries because of
notes in standards.
When _do_ you use ExcludeArch
2. Add those lines before %prep
%package client
Conflicts: ingres
Summary: Local and remote connectivity servers and utilities
%package server
Requires: %{name}-client = %{version}-%{release}
Summary: DBMS server and utilities
%package devel
Requires: %{name}-client = %{version}-%{release}
Summary: Application development
%package documentation
Summary: Documentation
%description client
Client side runtime and networking components and drivers
ODBC and JDBC drivers
%description server
DBMS server and database utilities
%description devel
Embedded SQL precompilers, headers and appliaction development tools
%description documentation
Full documentation set in PDF format
Easy enough.
3.simply use cat and sed instead of %{__cat} and %{__sed}
OK.
4.%defattr(-,ingres,ingres,-) should always be %defattr(-,root,root,-)
Even if the
vast majority of the files are owned by 'ingres'?
5.%post devel
/sbin/ldconfig %{_libdir}/ingres seems not right
If the shlibs are in the subdirs of %{_lib}, you should add a file to
/etc/ld.so.conf.d
I do write a file to /etc/ld.so.conf.d but for some reason when
the initial
setup commands run in the %post for ingres-client, it can't find the libraries.
I'll have another play.
Thanks, I was looking
for these. Will take a look.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.