From ed374fdd0f236c0f6b0e3c5c52c49d57c62551fc2c942fa868e21d2c250228d6 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 26 Mar 2018 11:03:38 +0000 Subject: [PATCH] Accepting request 590336 from GNOME:Factory - Make version in the injected .pc file a variable, which is dynamically updated to %{version} (boo#880273). (forwarded request 588464 from dimstar) OBS-URL: https://build.opensuse.org/request/show/590336 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/log4net?expand=0&rev=19 --- log4net.changes | 6 ++++++ log4net.pc | 2 +- log4net.spec | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/log4net.changes b/log4net.changes index cc444bb..964cb55 100644 --- a/log4net.changes +++ b/log4net.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 19 09:21:53 UTC 2018 - dimstar@opensuse.org + +- Make version in the injected .pc file a variable, which is + dynamically updated to %{version} (boo#880273). + ------------------------------------------------------------------- Wed Feb 28 16:37:03 UTC 2018 - dimstar@opensuse.org diff --git a/log4net.pc b/log4net.pc index c479588..5d0ec9f 100644 --- a/log4net.pc +++ b/log4net.pc @@ -4,5 +4,5 @@ libdir=${exec_prefix}/lib Name: log4net Description: log4net - .Net logging framework -Version: 1.2.9 +Version: @VERSION@ Libs: -r:${libdir}/mono/log4net/log4net.dll diff --git a/log4net.spec b/log4net.spec index b5f4a46..198527a 100644 --- a/log4net.spec +++ b/log4net.spec @@ -41,6 +41,7 @@ framework to the .NET runtime %prep %setup -q -c +sed -i "s|@VERSION@|%{version}|" %{SOURCE2} #============================================================================= %build