[packages/openchange] - updated noarch rule - fix build with autoconf 2.70 - release 53 (samba 4.13.3)

qboosh qboosh at pld-linux.org
Sat Jan 9 09:19:04 CET 2021


commit 3799929ce682162c900b1b89b111ab1837018649
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 9 09:19:01 2021 +0100

    - updated noarch rule
    - fix build with autoconf 2.70
    - release 53 (samba 4.13.3)

 openchange.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/openchange.spec b/openchange.spec
index 4231cde..6513e1a 100644
--- a/openchange.spec
+++ b/openchange.spec
@@ -12,7 +12,7 @@ Summary:	OpenChange - portable implementation of MS Exchange Server and Exchange
 Summary(pl.UTF-8):	OpenChange - przenośna implementacja serwera oraz protokołów MS Exchange
 Name:		openchange
 Version:	2.3
-Release:	52
+Release:	53
 License:	GPL v3+
 Group:		Libraries
 #Source0Download: https://github.com/openchange/openchange/releases
@@ -52,7 +52,7 @@ BuildRequires:	popt-devel
 BuildRequires:	python-devel >= 1:2.7
 BuildRequires:	python-samba >= 4.2.2
 %endif
-BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	rpmbuild(macros) >= 1.752
 # with DCERCP multiplex and pending call support (upstream 4.1.18+ or 4.2.2+)
 # samba-4.10-macros patch requires samba-pidl 4.10+
 BuildRequires:	samba-devel >= 4.10
@@ -178,9 +178,7 @@ Pliki nagłówkowe interfejsu Qt do biblioteki OpenChange MAPI.
 Summary:	API documentation for OpenChange libraries
 Summary(pl.UTF-8):	Dokumentacja API bibliotek OpenChange
 Group:		Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description apidocs
 API documentation for OpenChange libraries.
@@ -235,6 +233,8 @@ Wtyczka Nagiosa do sprawdzania usług Exchange/OpenChange.
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
+# instead of calling automake (there is no Makefile.am)
+cp -f /usr/share/automake/{compile,missing} .
 %configure \
 	--datadir=%{_datadir}/openchange \
 	--enable-openchange-qt4 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openchange.git/commitdiff/3799929ce682162c900b1b89b111ab1837018649



More information about the pld-cvs-commit mailing list