SPECS: llvm.spec - package config, remove not needed .dir files

undefine undefine at pld-linux.org
Sun Oct 21 16:04:25 CEST 2007


Author: undefine                     Date: Sun Oct 21 14:04:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package config, remove not needed .dir files

---- Files affected:
SPECS:
   llvm.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/llvm.spec
diff -u SPECS/llvm.spec:1.1 SPECS/llvm.spec:1.2
--- SPECS/llvm.spec:1.1	Sun Oct 21 15:35:01 2007
+++ SPECS/llvm.spec	Sun Oct 21 16:04:20 2007
@@ -13,6 +13,8 @@
 Requires:	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define	_sysconfdir	/etc/%{name}
+
 %description
 LLVM is a compiler infrastructure designed for compile-time,
 link-time, runtime, and idle-time optimization of programs from
@@ -40,6 +42,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+find $RPM_BUILD_ROOT -name .dir |xargs rm -f
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -51,11 +55,14 @@
 %defattr(644,root,root,755)
 %doc CREDITS.TXT LICENSE.TXT README.txt docs
 %attr(755,root,root) %{_bindir}/*
+%dir %{_sysconfdir}
+%verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/*
 %{_libdir}/*.o
 %{_libdir}/*.a
 %{_libdir}/*.la
 %attr(755,root,root) %{_libdir}/*.so*
 %{_includedir}/llvm
+%{_includedir}/llvm-c
 %{_mandir}/man?/llvm*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -64,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/10/21 14:04:20  undefine
+- package config, remove not needed .dir files
+
 Revision 1.1  2007/10/21 13:35:01  undefine
 - initial, nfy
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/llvm.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list