New upstream version (0.3.1)

Drop tevent goo and RHEL conditionals.
This commit is contained in:
Robbie Harwood 2021-01-22 20:03:04 +00:00
parent 7ef4bccacd
commit 4ddc4ce3f4
3 changed files with 9 additions and 44 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/libverto-0.2.6.tar.gz
/libverto-0.3.0.tar.gz
/libverto-0.3.1.tar.gz

View File

@ -1,16 +1,14 @@
%global homepage https://github.com/latchset/libverto
Name: libverto
Version: 0.3.0
Release: 11%{?dist}
Version: 0.3.1
Release: 2%{?dist}
Summary: Main loop abstraction library
License: MIT
URL: %{homepage}
Source0: %{homepage}/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch0: Work-around-libev-not-being-c89-compliant.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@ -18,10 +16,7 @@ BuildRequires: make
BuildRequires: glib2-devel
BuildRequires: libevent-devel
# BuildRequires: libtevent-devel
%if !0%{?rhel}
BuildRequires: libev-devel
%endif
BuildRequires: git
@ -85,27 +80,6 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
The %{name}-libevent-devel package contains libraries and header files for
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
Summary: libev module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -128,14 +102,13 @@ developing applications that use %{name}-libev.
This package provides %{name}-module-base since it supports io, timeout
and signal.
%endif
%prep
%autosetup -S git
%build
autoreconf -fiv
%configure --disable-static
%configure --disable-static --without-tevent
make %{?_smp_mflags}
%install
@ -146,10 +119,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets
%ldconfig_scriptlets glib
%ldconfig_scriptlets libevent
#ldconfig_scriptlets tevent
%if !0%{?rhel}
%ldconfig_scriptlets libev
%endif
%files
%{!?_licensedir:%global license %%doc}
@ -179,15 +149,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/%{name}-libevent.so
%{_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
%{_libdir}/%{name}-libev.so.*
@ -195,9 +156,12 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_includedir}/verto-libev.h
%{_libdir}/%{name}-libev.so
%{_libdir}/pkgconfig/%{name}-libev.pc
%endif
%changelog
* 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

View File

@ -1 +1 @@
SHA512 (libverto-0.3.0.tar.gz) = af4fec9cd20058c1db404443004c2b6c98bcacd0742369bb91f46dde6a35358e44f659bdfef30ab113e112ac1afb3156b098f5b5e2f4a58d1f4cd949abf0f57f
SHA512 (libverto-0.3.1.tar.gz) = baef4fd280e0cb30167743608fd5a950fb4340eeb89e3630a0f63f8eab4d56f0f894a2e3283583b7ed8774d5e896c44e2c68c25882d95a07350f980af36b8740