forked from pool/c-ares
- Fix version number of the snapshot to not be downgrade:
bsc#1156601 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=13
This commit is contained in:
parent
42b6c9750c
commit
4b8c0756e2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 15 07:59:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix version number of the snapshot to not be downgrade:
|
||||||
|
bsc#1156601
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 8 11:16:29 UTC 2019 - Adam Majer <adam.majer@suse.de>
|
Fri Nov 8 11:16:29 UTC 2019 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
15
c-ares.spec
15
c-ares.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package c-ares
|
# spec file for package c-ares
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,23 +17,22 @@
|
|||||||
|
|
||||||
|
|
||||||
%define libname libcares2
|
%define libname libcares2
|
||||||
|
%define realver 1.15.0-20191108
|
||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.15.0~20191108
|
Version: 1.15.0+20191108
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for asynchronous name resolves
|
Summary: Library for asynchronous name resolves
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://c-ares.haxx.se/
|
URL: https://c-ares.haxx.se/
|
||||||
#Source0: https://c-ares.haxx.se/daily-snapshot/c-ares-1.15.0-20191108.tar.gz
|
#Source0: https://c-ares.haxx.se/daily-snapshot/c-ares-%{realver}.tar.gz
|
||||||
Source0: c-ares-1.15.0-20191108.tar.gz
|
Source0: c-ares-%{realver}.tar.gz
|
||||||
#Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
#Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
||||||
#Source1: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc
|
#Source1: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc
|
||||||
Source3: %{name}.keyring
|
Source3: %{name}.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
Patch0: 0001-Use-RPM-compiler-options.patch
|
Patch0: 0001-Use-RPM-compiler-options.patch
|
||||||
Patch1: disable-live-tests.patch
|
Patch1: disable-live-tests.patch
|
||||||
# PATCH-FIX-OPENSUSE 0010-Disable-failing-test.patch
|
|
||||||
#Patch12: 0010-Disable-failing-test.patch
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -68,7 +67,7 @@ asynchronously. c-ares is a fork of the library named 'ares', written
|
|||||||
by Greg Hudson at MIT.
|
by Greg Hudson at MIT.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n c-ares-1.15.0-20191108
|
%autosetup -p1 -n %{name}-%{realver}
|
||||||
|
|
||||||
# Remove bogus cflags checking
|
# Remove bogus cflags checking
|
||||||
sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac
|
sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac
|
||||||
|
Loading…
Reference in New Issue
Block a user