Skip to Content.
Sympa Menu

freetds - Re: [freetds] .dev.YYYY.mmdd hardcoded docdir?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] .dev.YYYY.mmdd hardcoded docdir?
  • Date: Sun, 13 Jul 2014 17:19:28 +0100

Can you try to compile our package using Fedora ?

I usually use "rpmbuild -ta freetds-0.XXXXX.tar.bz2"

Frediano


2014-07-13 16:53 GMT+01:00 Frantisek Hanzlik <franta AT hanzlici.cz>:

> It seems as Fedora distros specify "configure" --docdir as
> "/usr/share/doc" (without package name) - as You say,
> it point to "main root".
> Then they puts package docs into %{packagename}-%{version}/
> subdirectory - but it is distro own policy (moreover, Fedora
> from release 20 did "Unversioned Docdirs" and packages docs
> are in "/usr/share/doc/%{packagename}" (without version).
> This convention was backported also to Fedora 18 and 19.
>
> Franta Hanzlik
>
> Frediano Ziglio wrote:
> > Confirmed, at
> >
> https://gitorious.org/freetds/freetds/source/8780c1f243abef142756bb9caf0062196d48b9d7:doc/Makefile.am#L9-17
> > TARGET_DOCDIR uses $(datadir) (which is usually /usr/share) so the
> problem.
> >
> > I'm not sure however about --docdir. Should it point to main root (like
> > /usr/share/doc) or specific to project?
> >
> > I think you are referring to configure option, in configure I have
> >
> > docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> >
> > I think we don't use this as we want to embed the version to this
> directory
> > however looking at my /usr/share/doc directory there is no versions but
> > only package name so perhaps the target we use is not right.
> >
> > Our spec file say
> >
> > The freetds-doc package contains the useguide and reference of FreeTDS
> > and can be installed even if FreeTDS main package is not installed
> >
> > But this does not say we should be able to install different versions
> >
> > Frediano
> >
> >
> > 2014-07-05 11:46 GMT+02:00 Frantisek Hanzlik <franta AT hanzlici.cz>:
> >
> >> A few days ago I wrote here about problems with bsqldb and fisql;
> >> now I tried build last git2a830b1 version (because my Fedora 19 has
> >> older version 0.91-gitf3ae29d (0a42888 ?) sometimes from November
> >> 2013, and I was hoping that new version will be working better).
> >> But I have problem with making FreeTDS RPM package - it seems that
> >> new git version ignore "--docdir" configure option and always install
> >> doc into albeit right "/usr/share/doc/" directory, however here into
> >> "freetds-0.92.dev.YYYYmmdd" (where YYYYmmdd is actual date) - though
> >> I was specifying "--docdir=/usr/share/doc/freetds-0.92".
> >>
> >> It is intended, or I'm doing some mistake? IMO docdir (or other
> >> package directories) should not depend on current date, but rather
> >> on version ev. git subversion only }and should be configurable).
> >>
> >> Thanks, Franta Hanzlik
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




Archive powered by MHonArc 2.6.24.

Top of Page