Add patch to replace obsolete autotools macro
This commit is contained in:
parent
301e4e679a
commit
4bce577b3b
22
json-c-0.12.1-lt_init.patch
Normal file
22
json-c-0.12.1-lt_init.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 4354964f137a66aab2dc3f397a4dee7ae7b57725 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
|
||||
Date: Mon, 3 Jul 2017 12:17:36 +0200
|
||||
Subject: [PATCH] Replace obsolete AC_PROG_LIBTOOL
|
||||
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 364d27d..bca7593 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -87,7 +87,7 @@ int main(int c,char* v) {return 0;}
|
||||
|
||||
AC_LANG_POP([C])
|
||||
|
||||
-AM_PROG_LIBTOOL
|
||||
+LT_INIT
|
||||
|
||||
# Check for the -Bsymbolic-functions linker flag
|
||||
AC_ARG_ENABLE([Bsymbolic],
|
10
json-c.spec
10
json-c.spec
@ -4,13 +4,16 @@
|
||||
|
||||
Name: json-c
|
||||
Version: 0.12.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: JSON implementation in C
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/%{name}/%{name}
|
||||
Source0: %{url}/archive/json-c-%{version}-%{reldate}.tar.gz
|
||||
|
||||
# Upstreamed patch for obsolete autotools macro.
|
||||
Patch0: https://github.com/json-c/json-c/pull/333.patch#/%{name}-0.12.1-lt_init.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
@ -45,7 +48,7 @@ This package contains the reference manual for json-c.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version}-%{reldate}
|
||||
%autosetup -n %{name}-%{name}-%{version}-%{reldate} -p 1
|
||||
|
||||
for doc in ChangeLog; do
|
||||
%{_bindir}/iconv -f iso-8859-1 -t utf8 ${doc} > ${doc}.new
|
||||
@ -120,6 +123,9 @@ end
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 03 2017 Björn Esser <besser82@fedoraproject.org> - 0.12.1-2
|
||||
- Add patch to replace obsolete autotools macro
|
||||
|
||||
* Thu Apr 27 2017 Björn Esser <besser82@fedoraproject.org> - 0.12.1-1
|
||||
- Update to new upstream release
|
||||
- Introduces SONAME bump, that should have been in 0.12 already
|
||||
|
Loading…
Reference in New Issue
Block a user