add the nolibdir patch

This commit is contained in:
pertusus 2007-12-17 21:14:57 +00:00
commit f9c7bf45e2
2 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,13 @@
diff -up cppunit-1.12.0/cppunit-config.in.nolibdir cppunit-1.12.0/cppunit-config.in
--- cppunit-1.12.0/cppunit-config.in.nolibdir 2007-10-21 11:19:40.000000000 +0200
+++ cppunit-1.12.0/cppunit-config.in 2007-10-21 11:20:01.000000000 +0200
@@ -87,9 +87,6 @@ if test "$echo_cflags" = "yes"; then
fi
if test "$echo_libs" = "yes"; then
- if test @libdir@ != /usr/lib ; then
- my_linker_flags="-L@libdir@"
- fi
echo ${my_linker_flags} -lcppunit @LIBADD_DL@
fi

View file

@ -1,6 +1,6 @@
Name: cppunit
Version: 1.12.0
Release: 4%{?dist}
Release: 4%{?dist}.1
Summary: C++ unit testing framework
# no license in files
@ -97,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/html/
%changelog
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-4
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-4.1
- remove libdir reference to cppunit-config, should fix multiarch conflict
(#340951)
- fix encoding and remove windows related files in examples