[cudd] Rebuild for F15. Remove BuildRoot. Minor cleanups to fix rpmlint warnings.

Jerry James jjames at fedoraproject.org
Fri Mar 11 16:57:29 UTC 2011


commit de2fcac5ea87285ec8986a5696aa42a7bcdaee21
Author: Jerry James <loganjerry at gmail.com>
Date:   Fri Mar 11 09:56:18 2011 -0700

    Rebuild for F15.  Remove BuildRoot.  Minor cleanups to fix rpmlint warnings.

 cudd-2.4.2-sharedlib.patch |    2 +-
 cudd.spec                  |    8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/cudd-2.4.2-sharedlib.patch b/cudd-2.4.2-sharedlib.patch
index 3ca2535..c973edb 100644
--- a/cudd-2.4.2-sharedlib.patch
+++ b/cudd-2.4.2-sharedlib.patch
@@ -414,7 +414,7 @@ diff -dur cudd-2.4.2.ORIG/obj/Makefile cudd-2.4.2/obj/Makefile
  
 -lib$(P).a: $(POBJ)
 +lib$(PP).so.2.4.2: $(POBJ) $(WHERE)/cudd/libcudd.so
-+	$(CPP) $(CFLAGS) $(LDFLAGS) -o $@ $(POBJ) $(SHLINK) -lcudd -L$(WHERE)/cudd
++	$(CPP) $(CFLAGS) $(LDFLAGS) -o $@ $(POBJ) $(SHLINK) -nodefaultlibs -lcudd -L$(WHERE)/cudd -lstdc++ -lgcc -lc
 +	ln -s lib$(PP).so.2.4.2 lib$(PP).so.2
 +	ln -s lib$(PP).so.2 lib$(PP).so
 +
diff --git a/cudd.spec b/cudd.spec
index b2bf581..6d3fd67 100644
--- a/cudd.spec
+++ b/cudd.spec
@@ -1,6 +1,6 @@
 Name:           cudd
 Version:        2.4.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        CU Decision Diagram Package
 Group:          Development/Libraries
 License:        BSD
@@ -22,7 +22,6 @@ Patch3:         cudd-2.4.2-init.patch
 # This patch was sent upstream in September 2005.
 # On 64 bit platforms, fix the size definitions of void * and long
 Patch4:         cudd-2.4.2-64bit.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
 %description
@@ -148,6 +147,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Mar 11 2011 Jerry James <loganjerry at gmail.com> - 2.4.2-4
+- Rebuild for F15
+- Remove BuildRoot tag
+- Minor cleanups to fix rpmlint warnings
+
 * Wed Jul 7 2010 Conrad Meyer <konrad at tylerc.org> - 2.4.2-3
 - Add license to -static subpackage as per new licensing guidelines.
 


More information about the scm-commits mailing list