Hello all I have a local rpmmacros file and it's not readed by rpmbuild. The same is working with redhat 4 and 5 and not working in redhat 6. rpmbuild --rcfile=/mnt/prz/5.0/etc/rpmrc --showrc ARCHITECTURE AND OS: build arch : x86_64 compatible build archs: x86_64 noarch build os : Linux compatible build os's : Linux install arch : x86_64 install os : Linux compatible archs : x86_64 amd64 em64t athlon noarch i686 i586 i486 i386 fat compatible os's : Linux RPMRC VALUES: macrofiles : /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:/mnt/prz/new/etc/rpmmacros:./rpmmacros #more /mnt/prz/5.0/etc/rpmrc include : /usr/lib/rpm/rpmrc macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:/mnt/prz/new/etc/rpmmacros:./rpmmacros I don't see any value defined in my rpmmacros file. Is that someone already encoutered this kind of problem. Thanks Here the output of showrc command: rpmbuild --rcfile=/mnt/prz/5.0/etc/rpmrc --showrc ARCHITECTURE AND OS: build arch : x86_64 compatible build archs: x86_64 noarch build os : Linux compatible build os's : Linux install arch : x86_64 install os : Linux compatible archs : x86_64 amd64 em64t athlon noarch i686 i586 i486 i386 fat compatible os's : Linux RPMRC VALUES: macrofiles : /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:/mnt/prz/new/etc/rpmmacros:./rpmmacros optflags : -O2 -g Features supported by rpmlib: rpmlib(BuiltinLuaScripts) = 4.2.2-1 rpmlib(CompressedFileNames) = 3.0.4-1 rpmlib(ConcurrentAccess) = 4.1-1 rpmlib(ExplicitPackageProvide) = 4.0-1 rpmlib(FileCaps) = 4.6.1-1 rpmlib(FileDigests) = 4.6.0-1 rpmlib(HeaderLoadSortsTags) = 4.0.1-1 rpmlib(PartialHardlinkSets) = 4.0.4-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(PayloadIsBzip2) = 3.0.5-1 rpmlib(PayloadIsLzma) = 4.4.2-1 rpmlib(PayloadIsXz) = 5.2-1 rpmlib(ScriptletInterpreterArgs) = 4.0.3-1 rpmlib(VersionedDependencies) = 3.0.3-1 ======================== -14: GNUconfigure(MCs:) CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS; LDFLAGS="${LDFLAGS:-%{-s:-s}}" ; export LDFLAGS; %{-C:_mydir="`pwd`"; %{-M: %{__mkdir} -p %{-C*};} cd %{-C*}} dirs="`find ${_mydir} -name configure.in -print`"; export dirs; for coin in `echo ${dirs}` do dr=`dirname ${coin}`; if test -f ${dr}/NO-AUTO-GEN; then : else macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE((.*)),1,gp' < ${coin}`; ( cd ${dr}; aclocalinclude="${ACLOCAL_FLAGS}"; for k in ${macrodirs}; do if test -d ${k}; then aclocalinclude="${aclocalinclude} -I ${k}"; ##else ## echo "**Warning**: No such directory `${k}'. Ignored." fi done if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then if grep "sed.*POTFILES" configure.in >/dev/null; then : do nothing -- we still have an old unmodified configure.in else test -r ${dr}/aclocal.m4 || touch ${dr}/aclocal.m4; echo "no" | gettextize --force --copy; test -r ${dr}/aclocal.m4 && %{__chmod} u+w ${dr}/aclocal.m4; fi fi if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then %{__libtoolize} --force --copy; fi aclocal ${aclocalinclude}; if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then %{__autoheader}; fi echo "Running automake --gnu ${am_opt} ..."; %{__automake} --add-missing --gnu ${am_opt}; %{__autoconf}; ); fi done %{-C:${_mydir}}%{!-C:.}/configure --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} %* ; %{-C:cd ${_mydir}; unset _mydir} -14: ___build_args -e -14: ___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args} -14: ___build_post exit 0 -14: ___build_pre RPM_SOURCE_DIR="%{u2p:%{_sourcedir}}" RPM_BUILD_DIR="%{u2p:%{_builddir}}" RPM_OPT_FLAGS="%{optflags}" RPM_ARCH="%{_arch}" RPM_OS="%{_os}" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR="%{_docdir}" export RPM_DOC_DIR RPM_PACKAGE_NAME="%{name}" RPM_PACKAGE_VERSION="%{version}" RPM_PACKAGE_RELEASE="%{release}" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C export LANG unset CDPATH DISPLAY ||: %{?buildroot:RPM_BUILD_ROOT="%{u2p:%{buildroot}}" export RPM_BUILD_ROOT} %{?_javaclasspath:CLASSPATH="%{_javaclasspath}" export CLASSPATH} PKG_CONFIG_PATH="%{_libdir}/pkgconfig:%{_datadir}/pkgconfig" export PKG_CONFIG_PATH %{verbose:set -x}%{!verbose:exec > /dev/null} umask 022 cd "%{u2p:%{_builddir}}" -14: ___build_shell %{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh} -14: ___build_template #!%{___build_shell} %{___build_pre} %{nil} -14: __aclocal aclocal -14: __ar ar -14: __arch_install_post %{nil} -14: __as as -14: __autoconf autoconf -14: __autoheader autoheader -14: __automake automake -14: __awk gawk -14: __bzip2 /usr/bin/bzip2 -14: __cat /bin/cat -14: __cc gcc -14: __check_files %{_rpmconfigdir}/check-files %{buildroot} -14: __chgrp /bin/chgrp -14: __chgrp_Rhf %{__chgrp} -Rhf -14: __chmod /bin/chmod -14: __chown /bin/chown -14: __chown_Rhf %{__chown} -Rhf -14: __cp /bin/cp -14: __cpio /bin/cpio -14: __cpp gcc -E -14: __cxx g++ -14: __dbi_btconfig btree %{__dbi_other} %{__dbi_perms} %{nil} -14: __dbi_btconfig_current %{__dbi_btconfig} -14: __dbi_btconfig_rebuild %{__dbi_btconfig} %{__dbi_rebuild} -14: __dbi_cdb create cdb mpool mp_mmapsize=16Mb mp_size=1Mb -14: __dbi_htconfig hash %{__dbi_other} %{__dbi_perms} %{nil} -14: __dbi_htconfig_current %{__dbi_htconfig} -14: __dbi_htconfig_rebuild %{__dbi_htconfig} %{__dbi_rebuild} -14: __dbi_other %{?_tmppath:tmpdir=%{_tmppath}} %{?__dbi_cdb} -14: __dbi_perms perms=0644 -14: __dbi_rebuild nofsync !log !txn !cdb -14: __dbi_transient %{__dbi_rebuild} temporary private -14: __debug_install_post %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}" %{nil} -14: __desktop_provides %{_rpmconfigdir}/desktop-file.prov -14: __docdir_path %{_datadir}/doc:%{_datadir}/man:%{_datadir}/info:%{_datadir}/gtk-doc/html:%{?_docdir}:%{?_mandir}:%{?_infodir}:%{?_javadocdir}:/usr/doc:/usr/man:/usr/info:/usr/X11R6/man -14: __file /usr/bin/file -14: __file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts -14: __find_provides %{_rpmconfigdir}/find-provides -14: __find_requires %{_rpmconfigdir}/find-requires -14: __fontconfig_provides %{_rpmconfigdir}/fontconfig.prov -14: __gpg /usr/bin/gpg -14: __gpg_check_password_cmd %{__gpg} gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so - -14: __gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor --passphrase-fd 3 --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename} -14: __grep /bin/grep -14: __gzip /usr/bin/gzip -14: __id /usr/bin/id -14: __id_u %{__id} -u -14: __install /usr/bin/install -14: __isa %{__isa_name}-%{__isa_bits} -14: __isa_bits 64 -14: __isa_name x86 -14: __ld /usr/bin/ld -14: __libtool_provides %{_rpmconfigdir}/libtooldeps.sh --provides %{buildroot} %{name} -14: __libtool_requires %{_rpmconfigdir}/libtooldeps.sh --requires %{buildroot} %{name} -14: __libtoolize libtoolize -14: __ln_s ln -s -14: __lzma %__xz --format=lzma -14: __make /usr/bin/make -14: __mkdir /bin/mkdir -14: __mkdir_p /bin/mkdir -p -14: __mono_provides %{_rpmconfigdir}/mono-find-provides %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} -14: __mono_requires %{_rpmconfigdir}/mono-find-requires %{_builddir}/%{?buildsubdir} %{buildroot} %{_libdir} -14: __mv /bin/mv -14: __nm /usr/bin/nm -14: __objcopy /usr/bin/objcopy -14: __objdump /usr/bin/objdump -14: __ocaml_provides %{_rpmconfigdir}/ocaml-find-provides.sh -14: __ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh -14: __os_install_post %{_rpmconfigdir}/brp-compress %{_rpmconfigdir}/brp-strip %{_rpmconfigdir}/brp-strip-static-archive %{_rpmconfigdir}/brp-strip-comment-note %{nil} -14: __patch /usr/bin/patch -14: __perl /usr/bin/perl -14: __perl_provides %{_rpmconfigdir}/perl.prov -14: __perl_requires %{_rpmconfigdir}/perl.req -14: __pkgconfig_provides %{_rpmconfigdir}/pkgconfigdeps.sh --provides -14: __pkgconfig_requires %{_rpmconfigdir}/pkgconfigdeps.sh --requires -14: __policy_tree %{expand:%%global __policy_tree %{lua: t="targeted" f = io.open("/etc/selinux/config") if f then for l in f:lines() do if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end end f:close() end print (t) }}%{__policy_tree} -14: __prelink_undo_cmd /usr/sbin/prelink prelink -y library -14: __python /usr/bin/python -14: __python_provides %{_rpmconfigdir}/pythondeps.sh --provides -14: __python_requires %{_rpmconfigdir}/pythondeps.sh --requires -14: __ranlib ranlib -14: __remsh %{__rsh} -14: __rm /bin/rm -14: __rsh /usr/bin/rsh -14: __sed /bin/sed -14: __spec_build_args %{___build_args} -14: __spec_build_body %{___build_body} -14: __spec_build_cmd %{___build_cmd} -14: __spec_build_post %{___build_post} -14: __spec_build_pre %{___build_pre} -14: __spec_build_shell %{___build_shell} -14: __spec_build_template #!%{__spec_build_shell} %{__spec_build_pre} %{nil} -14: __spec_check_args %{___build_args} -14: __spec_check_body %{___build_body} -14: __spec_check_cmd %{___build_cmd} -14: __spec_check_post %{___build_post} -14: __spec_check_pre %{___build_pre} -14: __spec_check_shell %{___build_shell} -14: __spec_check_template #!%{__spec_check_shell} %{__spec_check_pre} %{nil} -14: __spec_clean_args %{___build_args} -14: __spec_clean_body %{___build_body} -14: __spec_clean_cmd %{___build_cmd} -14: __spec_clean_post %{___build_post} -14: __spec_clean_pre %{___build_pre} -14: __spec_clean_shell %{___build_shell} -14: __spec_clean_template #!%{__spec_clean_shell} %{__spec_clean_pre} %{nil} -14: __spec_install_args %{___build_args} -14: __spec_install_body %{___build_body} -14: __spec_install_cmd %{___build_cmd} -14: __spec_install_post %{?__debug_package:%{__debug_install_post}} %{__arch_install_post} %{__os_install_post} %{nil} -14: __spec_install_pre %{___build_pre} -14: __spec_install_shell %{___build_shell} -14: __spec_install_template #!%{__spec_install_shell} %{__spec_install_pre} %{nil} -14: __spec_prep_args %{___build_args} -14: __spec_prep_body %{___build_body} -14: __spec_prep_cmd %{___build_cmd} -14: __spec_prep_post %{___build_post} -14: __spec_prep_pre %{___build_pre} -14: __spec_prep_shell %{___build_shell} -14: __spec_prep_template #!%{__spec_prep_shell} %{__spec_prep_pre} %{nil} -14: __spec_rmbuild_args %{___build_args} -14: __spec_rmbuild_body %{___build_body} -14: __spec_rmbuild_cmd %{___build_cmd} -14: __spec_rmbuild_post %{___build_post} -14: __spec_rmbuild_pre %{___build_pre} -14: __spec_rmbuild_shell %{___build_shell} -14: __spec_rmbuild_template #!%{__spec_rmbuild_shell} %{__spec_rmbuild_pre} %{nil} -14: __ssh /usr/bin/ssh -14: __strip /usr/bin/strip -14: __tar /bin/tar -14: __unzip /usr/bin/unzip -14: __urlhelper_proxyopts %{?_httpproxy:--proxy %{_httpproxy}%{?_httpport::%{_httpport}}}%{!?_httpproxy:%{nil}} -14: __urlhelpercmd /usr/bin/curl -14: __urlhelperopts --silent --show-error --fail --location -o -14: __vsflags 0xf0000 -14: __xz /usr/bin/xz -14: _arch x86_64 -14: _binaries_in_noarch_packages_terminate_build 1 -14: _bindir %{_exec_prefix}/bin -14: _build %{_host} -14: _build_alias %{_host_alias} -14: _build_arch x86_64 -14: _build_cpu %{_host_cpu} -14: _build_file_context_path %{nil} -14: _build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm -14: _build_os %{_host_os} -14: _build_vendor %{_host_vendor} -14: _builddir %{_topdir}/BUILD -14: _buildrootdir %{_topdir}/BUILDROOT -14: _buildshell /bin/sh -14: _bzip2bin %{__bzip2} -14: _changelog_trimtime 0 -14: _configure ./configure -14: _datadir %{_datarootdir} -14: _datarootdir %{_prefix}/share -14: _dbapi 3 -14: _dbapi_rebuild 3 -14: _dbi_btconfig %{?_rpmdb_rebuild:%{__dbi_btconfig_rebuild}} %{!?_rpmdb_rebuild:%{__dbi_btconfig_current}} %{nil} -14: _dbi_config %{_dbi_htconfig} -14: _dbi_config_Depends %{_dbi_htconfig} temporary private -14: _dbi_config_Dirnames %{_dbi_btconfig} -14: _dbi_config_Installtid %{_dbi_btconfig} -14: _dbi_config_Packages %{_dbi_htconfig} lockdbfd -14: _dbi_config_Provideversion %{_dbi_btconfig} -14: _dbi_config_Removetid %{_dbi_btconfig} -14: _dbi_config_Requireversion %{_dbi_btconfig} -14: _dbi_htconfig %{?_rpmdb_rebuild:%{__dbi_htconfig_rebuild}} %{!?_rpmdb_rebuild:%{__dbi_htconfig_current}} %{nil} -14: _dbi_tags Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Obsoletename:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filedigests:Depends:Pubkeys -14: _dbpath %{_var}/lib/rpm -14: _dbpath_rebuild %{_dbpath} -14: _default_patch_flags -s -14: _default_patch_fuzz 0 -14: _defaultdocdir %{_datadir}/doc -14: _dependency_whiteout %{nil} -14: _desktopdir %{_datadir}/applications -14: _emacs_bytecompile /usr/bin/emacs -batch --no-init-file --no-site-file -f batch-byte-compile -14: _emacs_ev 1:23.1 -14: _emacs_evr 1:23.1-21.el6_2.3 -14: _emacs_sitelispdir /usr/share/emacs/site-lisp -14: _emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d -14: _emacs_version 23.1 -14: _exec_prefix %{_prefix} -14: _filter_GLIBC_PRIVATE 0 -14: _fixperms %{__chmod} -Rf a+rX,u+w,g-w,o-w -14: _gcj_support 1 -14: _gnu -gnu -14: _gzipbin %{__gzip} -14: _hkp_keyserver http://pgp.mit.edu -14: _hkp_keyserver_query %{_hkp_keyserver}:11371/pks/lookup?op=get&search=0x -14: _host x86_64-unknown-linux-gnu -14: _host_alias %{nil} -14: _host_cpu x86_64 -14: _host_os linux -14: _host_vendor unknown -14: _icons16dir %{_iconsbasedir}/16x16/apps -14: _icons192dir %{_iconsbasedir}/192x192/apps -14: _icons22dir %{_iconsbasedir}/22x22/apps -14: _icons48dir %{_iconsbasedir}/48x48/apps -14: _icons64dir %{_iconsbasedir}/64x64/apps -14: _icons96dir %{_iconsbasedir}/96x96/apps -14: _iconsbasedir %{_datadir}/icons/%{_iconstheme} -14: _iconsdir %{_datadir}/icons -14: _iconsscaldir %{_iconsbasedir}/scalable/apps -14: _iconstheme hicolor -14: _includedir %{_prefix}/include -14: _infodir %{_datarootdir}/info -14: _initddir %{_sysconfdir}/rc.d/init.d -14: _initrddir %{_initddir} -14: _install_file_context_path %{__file_context_path} -14: _install_langs all -14: _install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin -14: _isa %{?__isa:(%{__isa})}%{!?__isa:%{nil}} -14: _javadir %{_datadir}/java -14: _javadocdir %{_datadir}/javadoc -14: _jnidir %{_prefix}/lib/java -14: _jvmcommondatadir %{_datadir}/jvm-commmon -14: _jvmcommonlibdir %{_prefix}/lib/jvm-commmon -14: _jvmcommonsysconfdir %{_sysconfdir}/jvm-commmon -14: _jvmdatadir %{_datadir}/jvm -14: _jvmdir %{_prefix}/lib/jvm -14: _jvmjardir %{_prefix}/lib/jvm-exports -14: _jvmlibdir %{_prefix}/lib/jvm -14: _jvmprivdir %{_prefix}/lib/jvm-private -14: _jvmsysconfdir %{_sysconfdir}/jvm -14: _keyringpath %{_dbpath}/pubkeys/ -14: _lib lib64 -14: _libdir %{_prefix}/lib64 -14: _libexecdir %{_exec_prefix}/libexec -14: _liconsdir %{_datadir}/icons/large -14: _localstatedir /var -14: _mandir %{_datarootdir}/man -14: _mavendepmapdir %{_sysconfdir}/maven -14: _mavendepmapfragdir %{_sysconfdir}/maven/fragments -14: _mavenpomdir %{_datadir}/maven2/poms -14: _menudir %{_prefix}/lib/menu -14: _miconsdir %{_datadir}/icons/mini -14: _missing_doc_files_terminate_build 1 -14: _oldincludedir /usr/include -14: _os linux -14: _prefix /usr -14: _query_all_fmt %%{nvra} -14: _query_selector_match default -14: _rpmconfigdir %{getconfdir} -14: _rpmdir %{_topdir}/RPMS -14: _rpmfilename %{_build_name_fmt} -14: _rpmlock_path %{_dbpath}/.rpm.lock -14: _sbindir %{_exec_prefix}/sbin -14: _sharedstatedir /var/lib -14: _signature gpg -14: _smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \ && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \ [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS") -14: _sourcedir %{_topdir}/SOURCES -14: _specdir %{_topdir}/SPECS -14: _srcrpmdir %{_topdir}/SRPMS -14: _sysconfdir /etc -11: _target x86_64-linux -14: _target_alias %{_host_alias} -11= _target_cpu x86_64 -11= _target_os linux -14: _target_platform %{_target_cpu}-%{_vendor}-%{_target_os} -14: _target_vendor %{_host_vendor} -14: _tmppath %{_var}/tmp -14: _topdir %{getenv:HOME}/rpmbuild -14: _transaction_color 3 -14: _unpackaged_files_terminate_build 1 -14: _unzipbin %{__unzip} -14: _urlhelper %{__urlhelpercmd} %{?__urlhelper_localopts} %{?__urlhelper_proxyopts} %{__urlhelperopts} -14: _use_internal_dependency_generator 1 -14: _usr /usr -14: _usrsrc %{_usr}/src -14: _var /var -14: _vendor redhat -14: _verify_file_context_path %{__file_context_path} -14: _vsflags_build %{__vsflags} -14: _vsflags_erase %{__vsflags} -14: _vsflags_install %{__vsflags} -14: _vsflags_query %{__vsflags} -14: _vsflags_rebuilddb %{__vsflags} -14: _vsflags_verify %{__vsflags} -14: add_jvm_extension JAVA_LIBDIR=%{buildroot}/%{_javadir} %{_bindir}/jvmjar -l -14: add_to_maven_depmap install -dm 755 $RPM_BUILD_ROOT/%{_mavendepmapfragdir} cat >>$RPM_BUILD_ROOT/%{_mavendepmapfragdir}/%{name}<< EOF <dependency> <maven> <groupId>%1</groupId> <artifactId>%2</artifactId> <version>%3</version> </maven> <jpp> <groupId>%4</groupId> <artifactId>%5</artifactId> <version>%3</version> </jpp> </dependency> EOF %{nil} -14: alpha alpha alphaev56 alphaev6 alphaev67 -14: ant JAVA_HOME=%{java_home} ant -14: arm armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l -14: bcond_with %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} -14: bcond_without %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} -14: buildroot %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch} -14: configure CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; %{_configure} --host=%{_host} --build=%{_build} \ --program-prefix=%{?_program_prefix} \ --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: debug_package %ifnarch noarch %global __debug_package 1 %package debug Summary: Debug information for package %{name} Group: Development/Debug AutoReqProv: 0 %description debug This package provides debug information for package %{name}. Debug information is useful when developing applications that use this package or when debugging this package. %files debug -f debugfiles.list %defattr(-,root,root) %endif %{nil} -14: defined %{expand:%%{?%{1}:1}%%{!?%{1}:0}} -14: dist .el6 -14: el6 1 -14: find_lang %{_rpmconfigdir}/find-lang.sh %{buildroot} -14: ix86 i386 i486 i586 i686 pentium3 pentium4 athlon geode -14: jar %{java_home}/bin/jar -14: java %(. %{_javadir}-utils/java-functions; set_javacmd; echo $JAVACMD) -14: java_home %(. %{_javadir}-utils/java-functions; set_jvm; echo $JAVA_HOME) -14: javac %{java_home}/bin/javac -14: javadoc %{java_home}/bin/javadoc -14: jpackage_script install -d -m 755 $RPM_BUILD_ROOT%{_bindir} cat > $RPM_BUILD_ROOT%{_bindir}/%5 << EOF #!/bin/sh # # %{name} script # JPackage Project <http://www.jpackage.org/> # Source functions library . %{_javadir}-utils/java-functions # Source system prefs if [ -f %{_sysconfdir}/java/%{name}.conf ] ; then . %{_sysconfdir}/java/%{name}.conf fi # Source user prefs if [ -f \$HOME/.%{name}rc ] ; then . \$HOME/.%{name}rc fi # Configuration MAIN_CLASS=%1 BASE_FLAGS=%2 BASE_OPTIONS=%3 BASE_JARS="%(echo %4 | sed -e 's,:, ,g')" # Set parameters set_jvm set_classpath \$BASE_JARS set_flags \$BASE_FLAGS set_options \$BASE_OPTIONS # Let's start run "\$@" EOF chmod 755 $RPM_BUILD_ROOT%{_bindir}/%5 %{nil} -14: make_install make install DESTDIR=%{?buildroot} -14: makeinstall make \ prefix=%{?buildroot:%{buildroot}}%{_prefix} \ exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \ bindir=%{?buildroot:%{buildroot}}%{_bindir} \ sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \ sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \ datadir=%{?buildroot:%{buildroot}}%{_datadir} \ includedir=%{?buildroot:%{buildroot}}%{_includedir} \ libdir=%{?buildroot:%{buildroot}}%{_libdir} \ libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \ localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \ sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \ mandir=%{?buildroot:%{buildroot}}%{_mandir} \ infodir=%{?buildroot:%{buildroot}}%{_infodir} \ install -14: mdkicons install -D -m 644 %1-48.png $RPM_BUILD_ROOT%{_liconsdir}/%1.png install -D -m 644 %1-32.png $RPM_BUILD_ROOT%{_iconsdir}/%1.png install -D -m 644 %1-16.png $RPM_BUILD_ROOT%{_miconsdir}/%1.png %{nil} -14: mdkmenu install -d -m 755 $RPM_BUILD_ROOT%{_menudir} cat >$RPM_BUILD_ROOT%{_menudir}/%1 <<EOF ?package(%1):\ -14: nil %{!?nil} -11: optflags -O2 -g -14: patches %{lua: for i, p in ipairs(patches) do print(p.." ") end} -14: perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib) -14: perl_default_filter %{?filter_setup: %{expand: %filter_provides_in %{perl_vendorarch}/.*\.so$ %filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\.so$ %filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d %filter_provides_in %{_docdir} %filter_requires_in %{_docdir} %filter_setup }} -14: perl_default_filter_revision 2 -14: perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib) -14: perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch) -14: perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib) -14: perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) -14: perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) -14: post_mdkmenu %post mdkmenu %{update_menus} -14: postun_mdkmenu %postun mdkmenu %{clean_menus} -14: python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))") -14: python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())") -14: python_version %(%{__python} -c "import sys; sys.stdout.write(sys.version[:3])") -14: requires_eq %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -14: rhel 6 -14: rhicons install -D -m 644 %1-48.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png install -D -m 644 %1-32.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png install -D -m 644 %1-16.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png %{nil} -14: rhmenu install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/%4 cat >$RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/%4/%1.desktop <<EOF [Desktop Entry] Name=%6 Comment=%7 Exec=%2 Terminal=%3 Type=%9 Icon=%8 EOF %{nil} -14: sources %{lua: for i, s in ipairs(sources) do print(s.." ") end} -14: sparc sparc sparcv8 sparcv9 sparcv9v sparc64 sparc64v -14: undefined %{expand:%%{?%{1}:0}%%{!?%{1}:1}} -14: update_maven_depmap echo -e "<dependencies>\n" > %{_mavendepmapdir}/maven2-depmap.xml if [ -d %{_mavendepmapfragdir} ] && [ -n "`find %{_mavendepmapfragdir} -type f`" ]; then cat %{_mavendepmapfragdir}/* >> %{_mavendepmapdir}/maven2-depmap.xml fi echo -e "</dependencies>\n" >> %{_mavendepmapdir}/maven2-depmap.xml %{nil} -14: with %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} -14: without %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} ======================== active 336 empty 0 Target `showrc' is made in 0 s. ------------------------------------------------------------------- gmake: Leaving directory `/mnt/prz/5.0/pkg/install/OSPidp' |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list