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