[gtk-sharp-beans] Change paths for mono assemblies according to updated packaging guidelines (http://fedoraproject.org

Christian Krause chkr at fedoraproject.org
Wed Oct 26 21:07:05 UTC 2011


commit a7627c340b6adfe5281311f3ad42af177e7647c9
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Wed Oct 26 23:06:58 2011 +0200

    Change paths for mono assemblies according to updated packaging
    guidelines (http://fedoraproject.org/wiki/Packaging:Mono)

 gtk-sharp-beans.spec |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/gtk-sharp-beans.spec b/gtk-sharp-beans.spec
index e0c0eaf..c8d8664 100644
--- a/gtk-sharp-beans.spec
+++ b/gtk-sharp-beans.spec
@@ -7,7 +7,7 @@
 
 Name:           gtk-sharp-beans
 Version:        %{tagname}
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        C# bindings for GTK+ API not included in GTK#
 
 Group:          Development/Libraries
@@ -17,7 +17,6 @@ URL:            http://github.com/mono/%{name}
 # They are releases, but the file is generated on the fly.
 # The actual URL is: http://github.com/mono/$name/tarball/$tagname
 Source0:        mono-%{name}-%{tagname}-%{relvers}-%{tsuffix}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -43,31 +42,27 @@ Development files for gtk-sharp-beans
 %setup -q -n mono-%{name}-%{dsuffix}
 
 %build
-# Fix libdir
-sed -i 's|$(prefix)/lib/|$(libdir)/|' Makefile.am
-sed -i 's|${exec_prefix}/lib|@libdir@|' %{name}-2.0.pc.in
-
 NOCONFIGURE=true ./autogen.sh
 %configure
 make #%{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README
-%{_libdir}/%{name}
+%{_prefix}/lib/%{name}
 
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/pkgconfig/%{name}-2.0.pc
 
 %changelog
+* Wed Oct 26 2011 Christian Krause <chkr at fedoraproject.org> - 2.14.0-5
+- Change paths for mono assemblies according to updated packaging
+  guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.14.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list