Peter is correct, but the conditional (AIUI) should be using the value
of %{fedora}. Eric, you could do this conditional:
%if 0%{?fedora} <= 14
%global drupaldir /usr/share/drupal
%else
%global drupaldir /usr/share/drupal6
%endif
Paul
On Thu, Mar 03, 2011 at 09:00:26AM +0100, Peter Borsa wrote:
Hi!
I think /usr/share/drupal for <= F14 and /usr/share/drupal for >F15, EL5/6
--
Peter Borsa
On Thu, Mar 3, 2011 at 4:06 AM, David Nalley <david.nalley(a)fedoraproject.org
> wrote:
> On Wed, Mar 2, 2011 at 9:46 PM, Eric "Sparks" Christensen
> <sparks(a)fedoraproject.org> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > I just finished creating drupal6-yubikey module. I tested it out on my
> > Fedora 14 box and realized that Drupal installed at /usr/share/Drupal
> > and the module was installed at /usr/share/Drupal6/module which is a
> > problem. Should the modules be put in Drupal or Drupal6?
> >
> > - --Eric
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.11 (GNU/Linux)
> > Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
> >
> > iF4EAREIAAYFAk1vAQ8ACgkQU03aaJDMNEWyNwD+Oa2s4WkBogVx6gxWirY+KwYz
> > xlHx6D0S4pHgHfNIQQYBAJqg6cLZI2bPpi5GoqgdGezaclwxqyHcYHxH1Kwmn8P0
> > =tQfK
> > -----END PGP SIGNATURE-----
>
>
> depends on the dist tag.
>
> there likely should be a conditional in there that tests for %{dist}
> and does one thing for fc* and another for el*
> _______________________________________________
> logistics mailing list
> logistics(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/logistics
>
_______________________________________________
logistics mailing list
logistics(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/logistics
--
Paul W. Frields
http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
http://redhat.com/ - - - -
http://pfrields.fedorapeople.org/
Where open source multiplies:
http://opensource.com