[gtksourceviewmm] Co-own /usr/share/devhelp directory.

Krzesimir Nowak krnowak at fedoraproject.org
Sat Jun 25 17:12:25 UTC 2011


commit 55ea03f7d36eac52adf1f04257f1b199c7fa2456
Author: Krzesimir Nowak <qdlacz at gmail.com>
Date:   Sat Jun 25 19:11:30 2011 +0200

    Co-own /usr/share/devhelp directory.

 gtksourceviewmm.spec |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/gtksourceviewmm.spec b/gtksourceviewmm.spec
index d161a27..fc8a5c1 100644
--- a/gtksourceviewmm.spec
+++ b/gtksourceviewmm.spec
@@ -2,7 +2,7 @@
 
 Name:             gtksourceviewmm
 Version:          2.10.2
-Release:          1%{?dist}
+Release:          2%{?dist}
 Summary:          A C++ wrapper for the gtksourceview widget library
 
 Group:            System Environment/Libraries
@@ -12,7 +12,6 @@ Source0:          http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/2.10/%{
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:    gtkmm24-devel >= 2.12
 BuildRequires:    gtksourceview2-devel >= 2.10.0
-BuildRequires:    doxygen graphviz
 
 
 %description
@@ -39,7 +38,6 @@ developing applications that use %{name}.
 Summary:          Developer's documentation for the gtksourceviewmm library
 Group:            Documentation
 BuildArch:        noarch
-BuildRequires:    doxygen graphviz
 Requires:         gtkmm24-docs
 
 %description      doc
@@ -55,7 +53,10 @@ documentation browser or through a web browser.
 
 %build
 %configure --disable-static
-sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+# removing rpath
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
 make %{?_smp_mflags}
 iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
 
@@ -93,11 +94,15 @@ rm -rf $RPM_BUILD_ROOT
 %files doc
 %defattr(-, root, root, -)
 %doc COPYING
-%doc %{_datadir}/devhelp/books/%{name}-%{api_ver}
+%doc %{_datadir}/devhelp/
 %doc %{_docdir}/%{name}-%{api_ver}
 
 
 %changelog
+* Sat Jun 25 2011 Krzesimir Nowak <qdlacz at gmail.com> - 2.10.2-2
+- Co-own devhelp directory.
+- Dropped unneeded doxygen and graphviz BuildRequires.
+
 * Fri Jun 24 2011 Krzesimir Nowak <qdlacz at gmail.com> - 2.10.2-1
 - New upstream release.
 - Fixes several reference counting problems, mostly in completion stuff.


More information about the scm-commits mailing list