diff --git a/.gitignore b/.gitignore index cee69d6..83c7292 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/qat-zstd-plugin-*.tar.gz +SOURCES/qat-zstd-plugin-0.2.0.tar.gz diff --git a/.qat-zstd-plugin.metadata b/.qat-zstd-plugin.metadata new file mode 100644 index 0000000..dac7b27 --- /dev/null +++ b/.qat-zstd-plugin.metadata @@ -0,0 +1 @@ +902e29b525f2bc950e6feed73a68cd9753912134 SOURCES/qat-zstd-plugin-0.2.0.tar.gz diff --git a/lib-version.patch b/SOURCES/lib-version.patch similarity index 100% rename from lib-version.patch rename to SOURCES/lib-version.patch diff --git a/rh-makefile.patch b/SOURCES/rh-makefile.patch similarity index 77% rename from rh-makefile.patch rename to SOURCES/rh-makefile.patch index e5ddd6b..03913ca 100644 --- a/rh-makefile.patch +++ b/SOURCES/rh-makefile.patch @@ -25,3 +25,14 @@ ifneq ($(ICP_ROOT), ) LDFLAGS += -lqat_s -lusdm_drv_s -Wl,-rpath,$(ICP_ROOT)/build -L$(ICP_ROOT)/build +--- a/src/Makefile 2024-10-30 22:20:03.296178391 +0100 ++++ b/src/Makefile 2024-10-30 22:21:43.915301707 +0100 +@@ -76,7 +76,7 @@ DEBUGFLAGS += -DDEBUGLEVEL=$(DEBUGLEVEL) + ifneq ($(DEBUGLEVEL), 0) + QATFLAGS += -g -O0 + else +- QATFLAGS += -O3 ++ QATFLAGS += -g -O2 + endif + + VERSION_MAJOR=0 diff --git a/test.patch b/SOURCES/test.patch similarity index 100% rename from test.patch rename to SOURCES/test.patch diff --git a/qat-zstd-plugin.spec b/SPECS/qat-zstd-plugin.spec similarity index 76% rename from qat-zstd-plugin.spec rename to SPECS/qat-zstd-plugin.spec index 6f7d088..d9adc30 100644 --- a/qat-zstd-plugin.spec +++ b/SPECS/qat-zstd-plugin.spec @@ -1,3 +1,13 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + Name: qat-zstd-plugin Version: 0.2.0 Release: %autorelease @@ -71,4 +81,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./test/test README.md %{_libdir}/libqatseqprod.a %changelog -%autochangelog +## START: Generated by rpmautospec +* Tue Oct 29 2024 Vladis Dronov - 0.2.0-1 +- Initial commit on c9s (RHEL-46072) +## END: Generated by rpmautospec diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 4ca9235..0000000 --- a/gating.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- !Policy -product_versions: - - rhel-10 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/sources b/sources deleted file mode 100644 index 99573be..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (qat-zstd-plugin-0.2.0.tar.gz) = 9039a346d85bed9a84326a6e664de8d0203b92b167468fd5d7d67ff96be08b3edaba92e28a900ba53440eaed66b3621db72c6a3d1200b74b0893b7ba8a6bf21a diff --git a/tests/README b/tests/README deleted file mode 100644 index c828519..0000000 --- a/tests/README +++ /dev/null @@ -1,7 +0,0 @@ -A test should be configured as BaseOS CI test (not an OSCI one), as it require -an x86_64 machine with QAT_4XXX (or later) hardware, so it should be run in Beaker. - -see: https://one.redhat.com/rhel-development-guide/#proc_enable-gating_assembly_enabling-gating -and: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests -and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084 -and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test diff --git a/tests/nulltest.sh b/tests/nulltest.sh deleted file mode 100755 index 55d2351..0000000 --- a/tests/nulltest.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -# There is a test binary and %check rpm target for testing -echo QAT-ZSTD-Plugin nulltest is PASS -exit 0 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 0e807fa..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - tests: - - nulltest: - dir: . - run: nulltest.sh