<commit_before># ------------------------------------------------------------------------------
# Packaging with RPM
# ------------------------------------------------------------------------------
#
# Important: Set variables using set(... PARENT_SCOPE), so that the scope of the
# definition extends to the parent scope


# -- Set RPM-specific variables ------------------------------------------------

set(CPACK_RPM_PACKAGE_ARCHITECTURE x86_64 PARENT_SCOPE)
set(CPACK_RPM_PACKAGE_LICENSE "New BSD License" PARENT_SCOPE)
set(CPACK_RPM_PACKAGE_GROUP "Development/Libraries" PARENT_SCOPE)
set(CPACK_RPM_PACKAGE_REQUIRES "python >= 2.4, lapack >= 3.0, m4 >= 1.4" PARENT_SCOPE)<commit_msg>make package now works on CentOS 5<commit_after># ------------------------------------------------------------------------------
# Packaging with RPM
# ------------------------------------------------------------------------------
#
# Important: Set variables using set(... PARENT_SCOPE), so that the scope of the
# definition extends to the parent scope


# -- Set RPM-specific variables ------------------------------------------------

set(CPACK_RPM_PACKAGE_ARCHITECTURE x86_64 PARENT_SCOPE)
set(CPACK_RPM_PACKAGE_LICENSE "New BSD License" PARENT_SCOPE)
set(CPACK_RPM_PACKAGE_GROUP "Development/Libraries" PARENT_SCOPE)
set(CPACK_RPM_PACKAGE_REQUIRES "python >= 2.4, lapack >= 3.0, m4 >= 1.4" PARENT_SCOPE)

if(EXISTS "/etc/rpm/macros.python26")
    # On RH 5/CentOS 5, /usr/bin/python is Python 2.4. Unfortunately,
    # /usr/lib/rpm/redhat/macros defines __os_install_post to call
    # /usr/lib/rpm/brp-python-bytecompile without any argument, which then leads
    # to /usr/bin/python being used for byte-compiling. If the python26 package
    # from EPEL is installed, we provide an autmatic fix, so that thr RPM build
    # process uses Python 2.6.
    # See https://bugzilla.redhat.com/show_bug.cgi?id=573151#c9 for more
    # information.
    CPACK_RPM_SPEC_MORE_DEFINE="%define __os_install_post %{__python26_os_install_post}"
endif(EXISTS "/etc/rpm/macros.python26")
{'fraction_non_alphanumeric': 0.27624576681180457, 'fraction_numerical': 0.021286889211417512, 'mean_word_length': 1.9627507163323783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5868017', 'n_tokens_mistral': 663, 'n_tokens_neox': 599, 'n_words': 154}