use autosetup

SPDX conversion (Miroslav Suchý)
This commit is contained in:
Joe Orton 2024-02-13 08:56:14 +00:00
parent a3b0b3b3aa
commit 90cc61fc41

View File

@ -2,7 +2,7 @@
Name: libevent
Version: 2.1.12
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Abstract asynchronous event notification library
# arc4random.c, which is used in build, is ISC. The rest is BSD-3-Clause.
@ -61,11 +61,7 @@ BuildArch: noarch
This package contains the development documentation for %{name}.
%prep
%setup -q -n libevent-%{version}-stable
%patch01 -p1 -b .nonettests
%patch02 -p1 -b .fix-install
%patch03 -p1 -b .fix-install-2
%patch04 -p1 -b .revert-problematic-change
%autosetup -p1 -n libevent-%{version}-stable
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -pn test/check-dumpevents.py \
event_rpcgen.py
@ -149,6 +145,10 @@ mkdir -p $RPM_BUILD_ROOT/%{develdocdir}/sample
%doc %{develdocdir}/
%changelog
* Tue Feb 13 2024 Joe Orton <jorton@redhat.com> - 2.1.12-12
- use autosetup
- SPDX migration (Miroslav Suchý)
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.12-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild