Auto sync2gitlab import of libverto-0.3.2-2.el8.src.rpm

This commit is contained in:
CentOS Sources 2022-07-12 04:09:57 +00:00
parent 58d8d75534
commit c822796302
4 changed files with 13 additions and 70 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/libverto-0.3.0.tar.gz /libverto-0.3.0.tar.gz
/libverto-0.3.2.tar.gz

View File

@ -1,26 +0,0 @@
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

View File

@ -1,26 +1,22 @@
%global homepage https://github.com/latchset/libverto %global homepage https://github.com/latchset/libverto
Name: libverto Name: libverto
Version: 0.3.0 Version: 0.3.2
Release: 5%{?dist} Release: 2%{?dist}
Summary: Main loop abstraction library Summary: Main loop abstraction library
License: MIT License: MIT
URL: %{homepage} URL: %{homepage}
Source0: %{homepage}/releases/download/%{version}/%{name}-%{version}.tar.gz Source0: %{homepage}/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch0: Work-around-libev-not-being-c89-compliant.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: make
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libevent-devel BuildRequires: libevent-devel
# BuildRequires: libtevent-devel
%if !0%{?rhel}
BuildRequires: libev-devel BuildRequires: libev-devel
%endif
BuildRequires: git BuildRequires: git
@ -84,27 +80,6 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
The %{name}-libevent-devel package contains libraries and header files for The %{name}-libevent-devel package contains libraries and header files for
developing applications that use %{name}-libevent. developing applications that use %{name}-libevent.
# %package tevent
# Summary: tevent module for %{name}
# Requires: %{name}%{?_isa} = %{version}-%{release}
# Provides: %{name}-module-base = %{version}-%{release}
# %description tevent
# Module for %{name} which provides integration with tevent.
# This package provides %{name}-module-base since it supports io, timeout
# and signal.
# %package tevent-devel
# Summary: Development files for %{name}-tevent
# Requires: %{name}-tevent%{?_isa} = %{version}-%{release}
# Requires: %{name}-devel%{?_isa} = %{version}-%{release}
# %description tevent-devel
# The %{name}-tevent-devel package contains libraries and header files for
# developing applications that use %{name}-tevent.
%if !0%{?rhel}
%package libev %package libev
Summary: libev module for %{name} Summary: libev module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -127,7 +102,6 @@ developing applications that use %{name}-libev.
This package provides %{name}-module-base since it supports io, timeout This package provides %{name}-module-base since it supports io, timeout
and signal. and signal.
%endif
%prep %prep
%autosetup -S git %autosetup -S git
@ -145,10 +119,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets %ldconfig_scriptlets
%ldconfig_scriptlets glib %ldconfig_scriptlets glib
%ldconfig_scriptlets libevent %ldconfig_scriptlets libevent
#ldconfig_scriptlets tevent
%if !0%{?rhel}
%ldconfig_scriptlets libev %ldconfig_scriptlets libev
%endif
%files %files
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
@ -178,15 +149,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/%{name}-libevent.so %{_libdir}/%{name}-libevent.so
%{_libdir}/pkgconfig/%{name}-libevent.pc %{_libdir}/pkgconfig/%{name}-libevent.pc
# %files tevent
# %{_libdir}/%{name}-tevent.so.*
# %files tevent-devel
# %{_includedir}/verto-tevent.h
# %{_libdir}/%{name}-tevent.so
# %{_libdir}/pkgconfig/%{name}-tevent.pc
%if !0%{?rhel}
%files libev %files libev
%{_libdir}/%{name}-libev.so.* %{_libdir}/%{name}-libev.so.*
@ -194,9 +156,16 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_includedir}/verto-libev.h %{_includedir}/verto-libev.h
%{_libdir}/%{name}-libev.so %{_libdir}/%{name}-libev.so
%{_libdir}/pkgconfig/%{name}-libev.pc %{_libdir}/pkgconfig/%{name}-libev.pc
%endif
%changelog %changelog
* Wed Jun 29 2022 Julien Rische <jrische@redhat.com> - 0.3.2-1
- New upstream release (0.3.2)
- Resolves: rhbz#2100916
* Wed Mar 20 2019 Robbie Harwood <rharwood@redhat.com> - 0.3.0-6
- Add gating
- Resolves: #1682288
* 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
@ -288,4 +257,3 @@ 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

View File

@ -1 +1 @@
SHA512 (libverto-0.3.0.tar.gz) = af4fec9cd20058c1db404443004c2b6c98bcacd0742369bb91f46dde6a35358e44f659bdfef30ab113e112ac1afb3156b098f5b5e2f4a58d1f4cd949abf0f57f SHA512 (libverto-0.3.2.tar.gz) = 342f20f83b8f674230fefba013505e1339dab0022e5e232c39d6763e4307088fa290b5a8e83f588e97142f5c4d190b1430288750e45f37a5fe4174d84ef85fc1