Compare commits

...

No commits in common. "c8s" and "c8-beta" have entirely different histories.
c8s ... c8-beta

21 changed files with 4 additions and 86 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
ttmkfdir-3.0.9.tar.bz2
SOURCES/ttmkfdir-3.0.9.tar.bz2

1
.ttmkfdir.metadata Normal file
View File

@ -0,0 +1 @@
829473beb905a39f026fc0e9b4aeb10031a5a8a9 SOURCES/ttmkfdir-3.0.9.tar.bz2

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: ttmkfdir
# $Id$
NAME := ttmkfdir
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -40,14 +40,14 @@ by the font server.
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT PREFIX="%{_prefix}" install INSTALL="install -p"
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
mkdir -p %{buildroot}%{_mandir}/man1/
cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
%files
%doc README
%{_bindir}/ttmkfdir
%{_mandir}/man1/ttmkfdir.1*
%{_mandir}/man1/ttmkfdir.1.gz
%changelog
* Wed Mar 07 2018 Parag Nemade <pnemade AT redhat DOT com> - 3.0.9-54

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +0,0 @@
SHA512 (ttmkfdir-3.0.9.tar.bz2) = ead6ff6ef364e71f14bbd70a04cc8a78a1add43b443cb46878da0896ee1826cb96c9caebd03295068e715851d426b51ad2b814fbaadf521570576f60324f773e

View File

@ -1,22 +0,0 @@
#!/bin/bash
if [ -d /tmp/test-ttmkfdir ];then
rm -rf /tmp/test-ttmkfdir
fi
mkdir /tmp/test-ttmkfdir
cd /tmp/test-ttmkfdir
ttmkfdir -d /usr/share/X11/fonts/TTF .
if [ -f ./fonts.scale ]; then
diff -urN ./fonts.scale /usr/share/X11/fonts/TTF/fonts.scale
retval=$?
echo $retval
if [ $retval -ne 0 ]; then
echo "FAIL: check if xorg-x11-fonts-ethiopic is installed or its packaging is changed"
exit 1
else
echo "PASS: ttmkfdir sucessfully generated fonts.scale file for xorg-x11-fonts-ethiopic directory"
fi
fi

View File

@ -1,33 +0,0 @@
- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
tasks:
- name: Install required packages
dnf:
name:
- xorg-x11-fonts-ethiopic
- name: Install the test files
copy: src={{ item.file }} dest=/usr/local/bin/{{ item.dest }} mode=0755
with_items:
- {file: test-simple, dest: test-simple }
- name: Test block
block:
- name: Execute the tests
shell: |
/usr/local/bin/test-simple &> /tmp/test.log && result=pass || result=fail
echo -e "results:\n- {result: $result, test: simple}" > /tmp/results.yml
always:
- name: Pull out the logs
fetch:
dest: "{{ artifacts }}/"
src: "{{ item }}"
flat: yes
with_items:
- /tmp/test.log
- /tmp/results.yml