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