Changeset 977


Ignore:
Timestamp:
08/21/15 09:24:21 (6 years ago)
Author:
olahaye
Message:

[rpm packaging] Update web prefix dir default to match ganglia packaging in rhel/fedora world

Location:
branches/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/Makefile

    r973 r977  
    6565rpm: tarball-bzip
    6666        # Binary package will reflect most distro where ganglia default location is /usr/share/ganglia
    67         @LC_ALL=C rpmbuild -tb --define 'web_prefixdir /usr/share/ganglia-webfrontend' ../ganglia_jobmonarch-${VERSION}.tar.bz2|grep "Wrote: "
     67        @LC_ALL=C rpmbuild -tb --define 'web_prefixdir /usr/share/ganglia' ../ganglia_jobmonarch-${VERSION}.tar.bz2|grep "Wrote: "
    6868
    6969srpm: tarball-bzip
  • branches/1.2/pkg/rpm/jobmonarch.spec

    r976 r977  
    55#   --define 'ganglia_user <username>'     # defaults to: ganglia
    66#   --define 'ganglia_group <group>'       # defaults to: ganglia
    7 #   --define 'web_prefixdir <path>'        # defaults to: /usr/share/ganglia-webfrontend
     7#   --define 'web_prefixdir <path>'        # defaults to: /usr/share/ganglia
    88
    99# example: rpmbuild -tb jobmonarch-1.1.2.tar.gz --define 'httpd_user www-data' --define 'httpd_group www-data' --define 'web_prefixdir /srv/www/ganglia'
     
    1313%{!?web_prefixdir: %define web_prefixdir /srv/www/htdocs/ganglia}
    1414%else
    15 %{!?web_prefixdir: %define web_prefixdir /usr/share/ganglia-webfrontend}
     15%{!?web_prefixdir: %define web_prefixdir /usr/share/ganglia}
    1616%endif
    1717
Note: See TracChangeset for help on using the changeset viewer.