From 4b8c0756e28240ee6e414337fd3b990f4ca9883e0e5a1747c2d661474ed94f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Nov 2019 07:59:48 +0000 Subject: [PATCH] - 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 --- c-ares.changes | 6 ++++++ c-ares.spec | 15 +++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/c-ares.changes b/c-ares.changes index 9f53472..94da0c2 100644 --- a/c-ares.changes +++ b/c-ares.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 15 07:59:27 UTC 2019 - Tomáš Chvátal + +- Fix version number of the snapshot to not be downgrade: + bsc#1156601 + ------------------------------------------------------------------- Fri Nov 8 11:16:29 UTC 2019 - Adam Majer diff --git a/c-ares.spec b/c-ares.spec index dcd28c7..d58902a 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,22 @@ %define libname libcares2 +%define realver 1.15.0-20191108 Name: c-ares -Version: 1.15.0~20191108 +Version: 1.15.0+20191108 Release: 0 Summary: Library for asynchronous name resolves License: MIT Group: Development/Libraries/C and C++ -URL: http://c-ares.haxx.se/ -#Source0: https://c-ares.haxx.se/daily-snapshot/c-ares-1.15.0-20191108.tar.gz -Source0: c-ares-1.15.0-20191108.tar.gz +URL: https://c-ares.haxx.se/ +#Source0: https://c-ares.haxx.se/daily-snapshot/c-ares-%{realver}.tar.gz +Source0: c-ares-%{realver}.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 Source3: %{name}.keyring Source4: baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch -# PATCH-FIX-OPENSUSE 0010-Disable-failing-test.patch -#Patch12: 0010-Disable-failing-test.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -68,7 +67,7 @@ asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. %prep -%autosetup -p1 -n c-ares-1.15.0-20191108 +%autosetup -p1 -n %{name}-%{realver} # Remove bogus cflags checking sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac