Cleanup specfile

This commit is contained in:
Martin Gansser 2021-12-28 14:48:23 +01:00
parent 392006c3e1
commit 1c8184627f

View File

@ -1,6 +1,6 @@
Name: libmicrohttpd
Version: 0.9.75
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
Summary: Lightweight library for embedding a webserver in applications
License: LGPLv2+
@ -8,11 +8,11 @@ URL: http://www.gnu.org/software/libmicrohttpd/
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
Patch0: gnutls-utilize-system-crypto-policy.patch
BuildRequires: autoconf, automake, libtool, gettext-devel
BuildRequires: libtool
BuildRequires: texinfo
BuildRequires: gnutls-devel
BuildRequires: doxygen graphviz
BuildRequires: make
BuildRequires: make
Requires(post): info
Requires(preun): info
@ -49,19 +49,12 @@ Doxygen documentation for libmicrohttpd and some example source code
%autosetup -p1
%build
# Required because patches modify .am files
autoreconf --install --force
%configure --disable-static --with-gnutls --enable-https=yes
%make_build
make -C doc/doxygen full
# Disabled for now due to problems reported at
# https://gnunet.org/bugs/view.php?id=1619
%check
%ifnarch s390x
%make_build check
%endif
%install
%make_install
@ -88,7 +81,7 @@ if [ $1 = 0 ] ; then
fi
%files
%doc README
%doc README NEWS
%license COPYING
%{_libdir}/libmicrohttpd.so.*
@ -107,6 +100,9 @@ fi
%doc html
%changelog
* Tue Dec 28 2021 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.75-2
- Cleanup specfile
* Mon Dec 27 2021 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.75-1
- Update to 1:0.9.75