Compare commits

..

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

8 changed files with 127 additions and 9 deletions

5
.gitignore vendored
View File

@ -1 +1,4 @@
SOURCES/libverto-0.3.2.tar.gz /libverto-0.2.6.tar.gz
/libverto-0.3.0.tar.gz
/libverto-0.3.1.tar.gz
/libverto-0.3.2.tar.gz

View File

@ -1 +0,0 @@
75faff55d9d1b06413612e6f2826fdd9adb73e33 SOURCES/libverto-0.3.2.tar.gz

View File

@ -0,0 +1,26 @@
From b6f0579cfd44a7e5b84b8239663a56f346acfc47 Mon Sep 17 00:00:00 2001
From: Robbie Harwood <rharwood@redhat.com>
Date: Fri, 1 Sep 2017 15:59:49 -0400
Subject: [PATCH] Work around libev not being c89-compliant
(cherry picked from commit c57599d7039d2435c306830b2edae999c462befb)
[rharwood@redhat.com: Remove travis files]
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 09ee123..b7b5908 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,8 +7,8 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
[AC_USE_SYSTEM_EXTENSIONS],
[AC_GNU_SOURCE])
-AC_PROG_CC_C89
-for flag in -std=c89 -Wall -Wextra; do
+AC_PROG_CC_C99
+for flag in -Wall -Wextra; do
AC_TRY_COMPILE([], [return 0;], [CFLAGS="$CFLAGS $flag"],)
done

6
gating.yaml Normal file
View File

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

View File

@ -2,7 +2,7 @@
Name: libverto Name: libverto
Version: 0.3.2 Version: 0.3.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Main loop abstraction library Summary: Main loop abstraction library
License: MIT License: MIT
@ -158,13 +158,40 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/pkgconfig/%{name}-libev.pc %{_libdir}/pkgconfig/%{name}-libev.pc
%changelog %changelog
* Wed Jun 29 2022 Julien Rische <jrische@redhat.com> - 0.3.2-1 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.2-3
- New upstream release (0.3.2) - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Resolves: rhbz#2100916 Related: rhbz#1991688
* Wed Mar 20 2019 Robbie Harwood <rharwood@redhat.com> - 0.3.0-6 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.3.2-2
- Add gating - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Resolves: #1682288
* Mon Mar 15 2021 Robbie Harwood <rharwood@redhat.com> - 0.3.2-1
- New upstream version (0.3.2)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Robbie Harwood <rharwood@redhat.com> - 0.3.1-2
- New upstream version (0.3.1)
- Drop tevent goo and RHEL conditionals
* Tue Sep 15 2020 Robbie Harwood <rharwood@redhat.com> - 0.3.0-11
- Rebuild for libevent soname bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Feb 19 2018 Robbie Harwood <rharwood@redhat.com> - 0.3.0-5 * Mon Feb 19 2018 Robbie Harwood <rharwood@redhat.com> - 0.3.0-5
- Rebuild due to libevent soname bump - Rebuild due to libevent soname bump
@ -257,3 +284,4 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
* Mon Aug 15 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.1-1 * Mon Aug 15 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.1-1
- Initial release - Initial release

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libverto-0.3.2.tar.gz) = 342f20f83b8f674230fefba013505e1339dab0022e5e232c39d6763e4307088fa290b5a8e83f588e97142f5c4d190b1430288750e45f37a5fe4174d84ef85fc1

26
tests/driver/runtest.sh Normal file
View File

@ -0,0 +1,26 @@
#!/bin/sh -ex
# Weird location, but okay.
cd ../source
# Generate Makefiles, directory layout, ...
autoreconf -fiv
./configure --with-glib --with-libevent --disable-dependency-tracking
make -sj
# Avoid running `make check` here
cd tests
ls *.c | while read f; do
f="$(echo $f | awk -F. '{print $1}')"
make $f
done
cd ..
# Overwrite the build.
cd src/.libs
cp /usr/lib64/libverto-glib.so.1.0.0 .
cp /usr/lib64/libverto-libevent.so.1.0.0 .
cd ../..
# Go time.
exec make check

29
tests/tests.yml Normal file
View File

@ -0,0 +1,29 @@
---
- hosts: localhost
tags: classic
tasks:
- name: Copy spec file to remote machine
copy:
src: "{{ playbook_dir }}/../libverto.spec"
dest: /tmp/libverto.spec
- name: Install build deps
shell: dnf -y --nogpgcheck build-dep /tmp/libverto.spec
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- libverto
- libverto-devel
- libverto-glib-devel
- libverto-libevent-devel
- make
- rpm-build
tests:
- driver