rpms/llvm/F-10 llvm.spec, 1.9, 1.10 llvm-build-examples.sh.in, 1.1, NONE

Michel Alexandre Salim salimma at fedoraproject.org
Thu Mar 5 01:26:25 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/llvm/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11848/F-10

Modified Files:
	llvm.spec 
Removed Files:
	llvm-build-examples.sh.in 
Log Message:
* Wed Mar  4 2009 Michel Salim <salimma at fedoraproject.org> - 2.5-2
- Remove build scripts; they require the build directory to work



Index: llvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/llvm/F-10/llvm.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- llvm.spec	5 Mar 2009 00:27:31 -0000	1.9
+++ llvm.spec	5 Mar 2009 01:25:55 -0000	1.10
@@ -15,7 +15,7 @@
 
 Name:           llvm
 Version:        2.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The Low Level Virtual Machine
 
 Group:          Development/Languages
@@ -25,7 +25,6 @@
 %if %{?_with_gcc:1}%{!?_with_gcc:0}
 Source1:        http://llvm.org/releases/%{version}/llvm-gcc%{lgcc_version}-%{version}.source.tar.gz
 %endif
-Source2:        llvm-build-examples.sh.in
 Patch0:         llvm-2.1-fix-sed.patch
 Patch1:         llvm-2.4-fix-ocaml.patch
 
@@ -74,8 +73,7 @@
 %package doc
 Summary:        Documentation for LLVM
 Group:          Development/Languages
-# depend on devel since the examples require build scripts
-Requires:       %{name}-devel = %{version}-%{release}
+Requires:       %{name} = %{version}-%{release}
 
 %description doc
 Documentation for the LLVM compiler infrastructure.
@@ -232,13 +230,9 @@
 
 chmod -x %{buildroot}%{_libdir}/%{name}/*.[oa]
 
-# Install build scripts
-mkdir -p %{buildroot}%{_libdir}/llvm/build
-chmod -x Makefile{,.common}
-for f in Makefile.{common,config,rules}; do
-  cp -p $f %{buildroot}%{_libdir}/llvm/build/
-done
-cat %{SOURCE2} | sed -e "s|LIBDIR|%{_libdir}|g" > examples/build-examples.sh
+# remove documentation makefiles:
+# they require the build directory to work
+find examples -name 'Makefile'
 
 %if %{?_with_gcc:1}%{!?_with_gcc:0}
 # Install llvm-gcc.
@@ -352,6 +346,9 @@
 
 
 %changelog
+* Wed Mar  4 2009 Michel Salim <salimma at fedoraproject.org> - 2.4-4
+- Remove build scripts; they require the build directory to work
+
 * Wed Mar  4 2009 Michel Salim <salimma at fedoraproject.org> - 2.4-3
 - Package build scripts (bug #457881)
 


--- llvm-build-examples.sh.in DELETED ---




More information about the fedora-extras-commits mailing list