SPECS: heap-buddy.spec - fixed files, dropped useless -static

qboosh qboosh at pld-linux.org
Thu Jun 19 07:42:25 CEST 2008


Author: qboosh                       Date: Thu Jun 19 05:42:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed files, dropped useless -static

---- Files affected:
SPECS:
   heap-buddy.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/heap-buddy.spec
diff -u SPECS/heap-buddy.spec:1.4 SPECS/heap-buddy.spec:1.5
--- SPECS/heap-buddy.spec:1.4	Thu Jun 19 07:21:25 2008
+++ SPECS/heap-buddy.spec	Thu Jun 19 07:42:20 2008
@@ -15,9 +15,11 @@
 URL:		http://www.mono-project.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
+BuildRequires:	glib2-devel >= 1:2.0
 BuildRequires:	libtool
 BuildRequires:	mono-csharp
 BuildRequires:	pkgconfig
+Obsoletes:	heap-buddy-static
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,18 +32,6 @@
 haków w środowisku uruchomieniowym mono i śledzi wszystkie alokacje
 zarządzanej pamięci, każde odśmiecanie oraz zmianę rozmiaru sterty.
 
-%package static
-Summary:	Static heap-buddy library
-Summary(pl.UTF-8):	Statyczna biblioteka heap-buddy
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static
-Static heap-buddy library.
-
-%description static -l pl.UTF-8
-Statyczna biblioteka heap-buddy
-
 %prep
 %setup -q
 
@@ -51,7 +41,8 @@
 %{__autoconf}
 %{__automake}
 
-%configure
+%configure \
+	--disable-static
 
 %{__make} -j1
 
@@ -61,6 +52,9 @@
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# mono dlopens profiler library by libmono-profiler-NAME.so
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,15 +63,12 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/heap-buddy
+%attr(755,root,root) %{_libdir}/libmono-profiler-heap-buddy.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmono-profiler-heap-buddy.so.0
+%attr(755,root,root) %{_libdir}/libmono-profiler-heap-buddy.so
 %{_prefix}/lib/%{name}
-%{_libdir}/*.la
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -85,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/06/19 05:42:20  qboosh
+- fixed files, dropped useless -static
+
 Revision 1.4  2008/06/19 05:21:25  qboosh
 - updated Source0 URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/heap-buddy.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list