From: Prarit Bhargava <prarit@xxxxxxxxxx> redhat/self-test: Add spec file data Add spec file examples for various release types and modify create-data.sh to create the data. This data will be used as a baseline for testing of Makefile changes. Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> diff --git a/redhat/self-test/data/centos-2585cf9dfaad.el7.spec b/redhat/self-test/data/centos-2585cf9dfaad.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-2585cf9dfaad.el7.spec diff --git a/redhat/self-test/data/centos-2585cf9dfaad.fc25.spec b/redhat/self-test/data/centos-2585cf9dfaad.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-2585cf9dfaad.fc25.spec diff --git a/redhat/self-test/data/centos-78e36f3b0dae.el7.spec b/redhat/self-test/data/centos-78e36f3b0dae.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-78e36f3b0dae.el7.spec diff --git a/redhat/self-test/data/centos-78e36f3b0dae.fc25.spec b/redhat/self-test/data/centos-78e36f3b0dae.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-78e36f3b0dae.fc25.spec diff --git a/redhat/self-test/data/centos-df0cc57e057f.el7.spec b/redhat/self-test/data/centos-df0cc57e057f.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-df0cc57e057f.el7.spec diff --git a/redhat/self-test/data/centos-df0cc57e057f.fc25.spec b/redhat/self-test/data/centos-df0cc57e057f.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-df0cc57e057f.fc25.spec diff --git a/redhat/self-test/data/centos-fce15c45d3fb.el7.spec b/redhat/self-test/data/centos-fce15c45d3fb.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-fce15c45d3fb.el7.spec diff --git a/redhat/self-test/data/centos-fce15c45d3fb.fc25.spec b/redhat/self-test/data/centos-fce15c45d3fb.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/centos-fce15c45d3fb.fc25.spec diff --git a/redhat/self-test/data/create-data.sh b/redhat/self-test/data/create-data.sh index blahblah..blahblah 100755 --- a/redhat/self-test/data/create-data.sh +++ b/redhat/self-test/data/create-data.sh @@ -39,6 +39,10 @@ do [ "$VAR" == "RHDISTDATADIR" ] && continue echo "$VAR=$(echo ${!VAR})" done >> "${varfilename}" + + echo "building ${varfilename}.spec" + make RHSELFTESTDATA=1 DIST="${DIST}" DISTRO="${DISTRO}" HEAD=${commit} setup-source + cp "${SOURCES}"/kernel.spec "${varfilename}".spec done done done diff --git a/redhat/self-test/data/fedora-2585cf9dfaad.el7.spec b/redhat/self-test/data/fedora-2585cf9dfaad.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-2585cf9dfaad.el7.spec diff --git a/redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec b/redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec diff --git a/redhat/self-test/data/fedora-78e36f3b0dae.el7.spec b/redhat/self-test/data/fedora-78e36f3b0dae.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-78e36f3b0dae.el7.spec diff --git a/redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec b/redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec diff --git a/redhat/self-test/data/fedora-df0cc57e057f.el7.spec b/redhat/self-test/data/fedora-df0cc57e057f.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-df0cc57e057f.el7.spec diff --git a/redhat/self-test/data/fedora-df0cc57e057f.fc25.spec b/redhat/self-test/data/fedora-df0cc57e057f.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-df0cc57e057f.fc25.spec diff --git a/redhat/self-test/data/fedora-fce15c45d3fb.el7.spec b/redhat/self-test/data/fedora-fce15c45d3fb.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-fce15c45d3fb.el7.spec diff --git a/redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec b/redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec diff --git a/redhat/self-test/data/rhel-2585cf9dfaad.el7.spec b/redhat/self-test/data/rhel-2585cf9dfaad.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/rhel-2585cf9dfaad.el7.spec diff --git a/redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec b/redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec diff --git a/redhat/self-test/data/rhel-78e36f3b0dae.el7.spec b/redhat/self-test/data/rhel-78e36f3b0dae.el7.spec new file mode 100755 index blahblah..blahblah 100755 --- /dev/null +++ b/redhat/self-test/data/rhel-78e36f3b0dae.el7.spec -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1706 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure