[gnote] * Add -lpthread to linker command line for DSO linkage
Ankur Sinha
ankursinha at fedoraproject.org
Mon Mar 4 23:45:23 UTC 2013
commit af90e96a899a49521d4e4c969d896767924252b8
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur at gmail.com>
Date: Tue Mar 5 10:44:41 2013 +1100
* Add -lpthread to linker command line for DSO linkage
Mock build completed but koji build failed because of this. Adding
linker flag and retrying build
gnote.spec | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/gnote.spec b/gnote.spec
index 78e976e..ae60fdc 100644
--- a/gnote.spec
+++ b/gnote.spec
@@ -1,12 +1,19 @@
Name: gnote
Version: 3.7.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Note-taking application
Group: User Interface/Desktops
License: GPLv3+
URL: http://live.gnome.org/Gnote
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnote/3.7/%{name}-%{version}.tar.xz
+# Built in mock but failed on koji with this error:
+# /usr/bin/ld: note: '__pthread_key_create@@GLIBC_2.2.5' is defined in DSO
+# /lib64/libpthread.so.0 so try adding it to the linker command line
+#
+# Added -lpthread
+Patch0: gnote-3.7.3-dso-pthread.patch
+
BuildRequires: boost-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
@@ -29,6 +36,7 @@ and consumes fewer resources.
%prep
%setup -q
+%patch0
%build
%configure --disable-static --with-gnu-ld
@@ -75,6 +83,9 @@ fi
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
%changelog
+* Tue Mar 05 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-2
+- Add patch for missing -lpthread that broke koji build
+
* Tue Mar 05 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-1
- Update to 3.7.3 rhbz#917584
- Add gtkspell3 to BR for spell check support
More information about the scm-commits
mailing list