!4 [sync] PR-3: Remove AM_INIT_AUTOMAKE

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-03-29 07:35:54 +00:00 committed by Gitee
commit 868cee49a2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 17 additions and 1 deletions

View File

@ -1,11 +1,12 @@
Name: librelp
Version: 1.2.16
Release: 3
Release: 4
Summary: An Easy To Use Library For The RELP Protocol
License: GPLv3+
URL: http://www.rsyslog.com/
Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
Patch0001: librelp-1.2.13-crypto-compliance.patch
Patch0002: remove-AM_INIT_AUTOMAKE.patch
Requires(post): glibc
Requires(postun): glibc
BuildRequires: gnutls-devel >= 1.4.0
@ -51,5 +52,8 @@ autoreconf -ivf
%{_libdir}/pkgconfig/relp.pc
%changelog
* Wed Jan 12 2021 xu_ping<xuping33@huawei.com> - 1.2.16-4
- remove AM_INIT_AUTOMAKE to fix AM_INIT_AUTOMAKE expanded multiple times
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 1.2.16-3
- Pakcage init

View File

@ -0,0 +1,12 @@
diff --git a/configure.ac b/configure.ac
index ede924d..0e38421 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,6 @@
AC_PREREQ(2.61)
AC_INIT([librelp], [1.2.16], [rgerhards@adiscon.com])
AM_INIT_AUTOMAKE
-AM_INIT_AUTOMAKE
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([src/relp.c])
AC_CONFIG_HEADER([config.h])