<commit_before># Overridden during automated builds
COMP_NAME    ?= hp-ams
COMP_VER     ?= 1.7.0
COMP_PKG_REV ?= 1

NAME         ?= $(COMP_NAME)
VERSION      ?= $(COMP_VER)
BUILD_NUMBER ?= $(COMP_PKG_REV)

ARCH ?= $(shell uname -m)
MAKE := make ARCH=${ARCH}
#
RPMSOURCES=$(shell rpm --eval %{_sourcedir})
RPMRPMS=$(shell rpm --eval %{_rpmdir})
RPM_OPT_FLAGS=$(shell rpm --eval %{__global_cflags})
#
INSTALL=install
DIRINSTALL=install -d
ifeq "$(RPM_BUILD_ROOT)" ""
PREFIX ?= /usr/local
else
PREFIX ?= /
DESTDIR = $(RPM_BUILD_ROOT)
endif
SBINDIR=$(DESTDIR)$(PREFIX)/sbin
ETCDIR=$(DESTDIR)$(PREFIX)/etc
INITDIR=$(ETCDIR)/init.d
HPAMSDIR=$(DESTDIR)$(PREFIX)/opt/hp/hp-ams
DOCDIR:=$(shell if [ -d $(PREFIX)/share/ ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/share/doc/$(NAME)-$(VERSION) ; \
                elif [ -d $(PREFIX)/usr/share/ ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/usr/share/doc/$(NAME)-$(VERSION) ; \
                else \
                    echo $(DESTDIR)/$(PREFIX)/usr/doc/$(NAME)-$(VERSION); fi )
MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/share/man ; \
                elif [ -d $(PREFIX)/usr/share/man ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/usr/share/man ; \
                else \
                    echo $(DESTDIR)/$(PREFIX)/usr/man; fi )
DISTROLIBS ?= $(shell if [ -f /etc/redhat-release ] ; then \
                     echo "-lrpmio -lrpm -lpci"; \
                  elif [ -f /etc/SuSE-release ] ; then \
                     echo "-lrpmio -lrpm -lpci"; \<commit_msg>RPM macros used to build and configure are dependent on distibution<commit_after># Overridden during automated builds
COMP_NAME    ?= hp-ams
COMP_VER     ?= 2.0.0
COMP_PKG_REV ?= 1

NAME         ?= $(COMP_NAME)
VERSION      ?= $(COMP_VER)
BUILD_NUMBER ?= $(COMP_PKG_REV)

ARCH ?= $(shell uname -m)
MAKE := make ARCH=${ARCH}
#
RPMSOURCES=$(shell rpm --eval %{_sourcedir})
RPMRPMS=$(shell rpm --eval %{_rpmdir})
RPM_OPT_FLAGS=$(shell  if [ -f /etc/redhat-release ] ; then \
						rpm --eval %{__global_cflags} ; \
                       elif [ -f /etc/SuSE-release ] ; then \
                        rpm --eval %{optflags} ; \
					   else  \
						echo "-O2" ; \
					   fi)
					    
#
INSTALL=install
DIRINSTALL=install -d
ifeq "$(RPM_BUILD_ROOT)" ""
PREFIX ?= /usr/local
else
PREFIX ?= /
DESTDIR = $(RPM_BUILD_ROOT)
endif
SBINDIR=$(DESTDIR)$(PREFIX)/sbin
ETCDIR=$(DESTDIR)$(PREFIX)/etc
INITDIR=$(ETCDIR)/init.d
HPAMSDIR=$(DESTDIR)$(PREFIX)/opt/hp/hp-ams
DOCDIR:=$(shell if [ -d $(PREFIX)/share/ ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/share/doc/$(NAME)-$(VERSION) ; \
                elif [ -d $(PREFIX)/usr/share/ ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/usr/share/doc/$(NAME)-$(VERSION) ; \
                else \
                    echo $(DESTDIR)/$(PREFIX)/usr/doc/$(NAME)-$(VERSION); fi )
MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/share/man ; \
                elif [ -d $(PREFIX)/usr/share/man ] ; then \
                    echo $(DESTDIR)/$(PREFIX)/usr/share/man ; \
                else \
                    echo $(DESTDIR)/$(PREFIX)/usr/man; fi )
DISTROLIBS ?= $(shell if [ -f /etc/redhat-release ] ; then \
                     echo "-lrpmio -lrpm -lpci"; \
                  elif [ -f /etc/SuSE-release ] ; then \
                     echo "-lrpmio -lrpm -lpci"; \
{'fraction_non_alphanumeric': 0.18247333525511675, 'fraction_numerical': 0.0025944076102623233, 'mean_word_length': 1.9632792485055508, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '992012', 'n_tokens_mistral': 1266, 'n_tokens_neox': 1174, 'n_words': 233}