2008/5/24 Edward Johnson <[EMAIL PROTECTED]>:
> Hi guys
> i might be jumping the gun a bit but i think i'm seeing a bug in the
> following macro definition file
>
>
> /var/lib/mach/roots/yoper-3.1-athome/usr/lib/rpm/i686-linux/macros
>
> see specific area below
> i bold the area of concern to me
> you can see the tag _datadir being defined but not _data however _data
> continue to be used instead thus not evaluating properly... tobig could you
> assist me here
> i'm tempted to just do
> %_data %{datadir} for compatibility just incase _data was used elsewhere
> else i would modify the two reference to _data to be _datadir
>
>
> # Per-platform rpm configuration file.
>
> #==============================================================================
> # ---- per-platform macros.
> #
> %_arch i686
> %_vendor yoper
> %_os linux
> %_gnu -gnu
> %_target_platform %{_target_cpu}-%{_vendor}-%{_target_os}
> %optflags -O2 -march=i686 -mtune=i686 -m32 -fomit-frame-pointer
> -maccumulate-outgoing-args -pipe -fPIC
>
> #==============================================================================
> # ---- configure macros.
> #
> %_prefix /usr
> %_exec_prefix /usr
> %_bindir /usr/bin
> %_sbindir /usr/sbin
> %_libexecdir /usr/libexec
> %_datadir /usr/share
> %_sysconfdir /etc
> %_sharedstatedir /usr/com
> %_localstatedir /var
> %_lib lib
> %_libdir /usr/%{_lib}
> %_includedir /usr/include
> %_oldincludedir /usr/include
> %_infodir %{_data}/info
> %_mandir %{_data}/man
> %_initrddir %{_sysconfdir}/rc.d/init.d
> %_docdir %{_data}/doc
>
> %_defaultdocdir %{_data}/doc
>
> %_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\
> && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
> [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
>
> #---------------------------------------------------------------------
>
>
> _______________________________________________
> yoper-dev mailing list
> yoper-dev@lists.yoper.com
> http://lists.frank-hosting.de/cgi-bin/mailman/listinfo/yoper-dev
>
>

Hi Edward,

No. You're right indeed :) . I'll hunt that bug down ;D .

[EMAIL PROTECTED] ~ $ rpm --showrc |grep data
  %{-C:${_mydir}}%{!-C:.}/configure %{_target_platform}
--prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir}
--sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir}
--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir}
--libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir}
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir}
--infodir=%{_infodir} %* ;
-14: _datadir   /usr/share
-14: _defaultdocdir     %{_data}/doc
-14: _docdir    %{_data}/doc
-14: _infodir   %{_data}/info
-14: _javadir   %{_datadir}/java
-14: _javadocdir        %{_datadir}/javadoc
-14: _mandir    %{_data}/man
        --datadir=%{_datadir} \
        --datadir=%{_datadir} \
        datadir=%{?buildroot:%{buildroot}}%{_datadir} \

cheers



-- 
Tobias Gerschner
Yoper Linux - www.yoper.com

Knowing is not enough; we must apply. Willing is not enough; we must do.
_______________________________________________
yoper-dev mailing list
yoper-dev@lists.yoper.com
http://lists.frank-hosting.de/cgi-bin/mailman/listinfo/yoper-dev

Reply via email to