SPECS: ming.spec - fix this broken build

glen glen at pld-linux.org
Mon Feb 25 02:07:39 CET 2008


Author: glen                         Date: Mon Feb 25 01:07:39 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix this broken build

---- Files affected:
SPECS:
   ming.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: SPECS/ming.spec
diff -u SPECS/ming.spec:1.43 SPECS/ming.spec:1.44
--- SPECS/ming.spec:1.43	Mon Feb 25 00:51:39 2008
+++ SPECS/ming.spec	Mon Feb 25 02:07:33 2008
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Ming - biblioteka do produkcji plików SWF
 Name:		ming
 Version:	0.3.0
-Release:	3
+Release:	4
 License:	LGPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/ming/%{name}-%{version}.tar.gz
@@ -110,6 +110,8 @@
 %patch1 -p1
 %patch2 -p1
 
+ln -s src/ming.h
+
 %build
 %configure
 %{__make} -j1
@@ -118,6 +120,7 @@
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make} \
+	CC="%{__cc}" \
 	OPTIMIZE="%{rpmcflags}"
 cd ..
 
@@ -128,6 +131,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -140,6 +144,9 @@
 
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/SWF/.cvsignore
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SWF/.packlist
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SWF/include/libming.a
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SWF/include/ming.h
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SWF/include/perl_swf.h
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/ming*.py
 
 %clean
@@ -212,6 +219,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2008-02-25 01:07:33  glen
+- fix this broken build
+
 Revision 1.43  2008-02-24 23:51:39  glen
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ming.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list