Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d52d160386 | |||
| 54a47f1218 | |||
| d404eda2ac | |||
| aa9aecbfee |
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 22 13:35:40 UTC 2025 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
|
||||
|
||||
- Adjust conflict from libev-devel to libev-libevent-devel (event.h was moved)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 22 13:33:29 UTC 2025 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
|
||||
|
||||
- Add python-rpm-macros as build requirement to resolve undefined Python macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 11 07:18:53 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- remove dependency on /usr/bin/python3 using
|
||||
%python3_fix_shebang macro, [bsc#1212476]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 29 16:15:04 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libevent
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -49,8 +49,8 @@ BuildRequires: pkgconfig
|
||||
%else
|
||||
BuildRequires: pkg-config
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The libevent API provides a mechanism to execute a callback function
|
||||
@@ -86,8 +86,7 @@ Summary: Development files for libevent2
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libsoname} = %{version}
|
||||
Requires: glibc-devel
|
||||
# Both have /usr/include/event.h
|
||||
Conflicts: libev-devel
|
||||
Conflicts: libev-libevent-devel
|
||||
Provides: %{name}:%{_includedir}/event.h
|
||||
|
||||
%description devel
|
||||
@@ -120,21 +119,19 @@ This package holds the static libraries for libevent2.
|
||||
export ac_cv_func_select=no
|
||||
%configure \
|
||||
--disable-libevent-regress
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%make_install %{?_smp_mflags}
|
||||
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
||||
%python3_fix_shebang
|
||||
|
||||
%post -n %{libsoname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{libsoname} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{libsoname}
|
||||
|
||||
%files -n %{libsoname}
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%doc ChangeLog whatsnew-2.0.txt whatsnew-2.1.txt
|
||||
%{_libdir}/%{name}-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
@@ -144,7 +141,6 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/%{name}_openssl-%{version_base}.%{version_minor}.so.%{abi_release}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/event_rpcgen.py
|
||||
%{_includedir}/evdns.h
|
||||
%{_includedir}/event.h
|
||||
@@ -164,7 +160,6 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
||||
%{_libdir}/pkgconfig/%{name}_extra.pc
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/%{name}.a
|
||||
%{_libdir}/%{name}_core.a
|
||||
%{_libdir}/%{name}_extra.a
|
||||
|
||||
Reference in New Issue
Block a user