[botan] Patch to revert the soname change.

Thomas Moschny thm at fedoraproject.org
Thu Jul 21 15:58:16 UTC 2011


commit bf3746dfa3340071ef1ee1ede791e35ff9842a4a
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Thu Jul 21 17:57:31 2011 +0200

    Patch to revert the soname change.

 botan-1.8.13-soname.patch |   12 ++++++++++++
 botan.spec                |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/botan-1.8.13-soname.patch b/botan-1.8.13-soname.patch
new file mode 100644
index 0000000..fd21e6b
--- /dev/null
+++ b/botan-1.8.13-soname.patch
@@ -0,0 +1,12 @@
+============================================================
+--- configure.py        56ef9e873a4807c437f22b0ab58a22987e6ab2f9
++++ configure.py        3cdef18138198b63b180b200ea521140b161ffcc
+@@ -38,7 +38,7 @@ class BuildConfigurationInformation(obje
+     version_major = 1
+     version_minor = 8
+     version_patch = 13
+-    version_so_patch = 13
++    version_so_patch = 2
+     version_suffix = ''
+ 
+     version_string = '%d.%d.%d%s' % (
diff --git a/botan.spec b/botan.spec
index 2a92ae5..588e997 100644
--- a/botan.spec
+++ b/botan.spec
@@ -1,6 +1,6 @@
 Name:           botan
 Version:        1.8.13
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Crypto library written in C++
 
 Group:          System Environment/Libraries
@@ -10,6 +10,8 @@ URL:            http://botan.randombit.net/
 # here: http://files.randombit.net/botan/Botan-%%{version}.tbz
 Source0:        Botan-%{version}.stripped.tbz
 Source1:        README.fedora
+# soname was changed unintentionally upstream, revert it.
+Patch0:         botan-1.8.13-soname.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gcc-c++
@@ -48,6 +50,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q -n Botan-%{version}
+%patch0 -p0
 cp -av %{SOURCE1} .
 
 %build
@@ -119,6 +122,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} ./check --validate
 
 
 %changelog
+* Thu Jul 21 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.8.13-2
+- Patch to revert the soname change.
+
 * Wed Jul 20 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.8.13-1
 - Update to 1.8.13.
 


More information about the scm-commits mailing list