rpms/llvm/devel llvm.spec, 1.10, 1.11 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/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11848/devel

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/devel/llvm.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- llvm.spec	5 Mar 2009 00:27:31 -0000	1.10
+++ llvm.spec	5 Mar 2009 01:25:55 -0000	1.11
@@ -15,7 +15,7 @@
 
 Name:           llvm
 Version:        2.5
-Release:        1%{?dist}
+Release:        2%{?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
 # http://llvm.org/bugs/show_bug.cgi?id=3726
@@ -76,8 +75,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.
@@ -235,13 +233,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.
@@ -355,6 +349,9 @@
 
 
 %changelog
+* Wed Mar  4 2009 Michel Salim <salimma at fedoraproject.org> - 2.5-2
+- Remove build scripts; they require the build directory to work
+
 * Wed Mar  4 2009 Michel Salim <salimma at fedoraproject.org> - 2.5-1
 - Update to 2.5
 - Package build scripts (bug #457881)


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




More information about the fedora-extras-commits mailing list