diff --git a/rrdtool-automake.patch b/rrdtool-automake.patch new file mode 100644 index 0000000..652e9b7 --- /dev/null +++ b/rrdtool-automake.patch @@ -0,0 +1,16 @@ +Index: rrdtool-1.4.7/bindings/tcl/Makefile.am +=================================================================== +--- rrdtool-1.4.7.orig/bindings/tcl/Makefile.am ++++ rrdtool-1.4.7/bindings/tcl/Makefile.am +@@ -27,8 +27,9 @@ tclpkgdir = @TCL_PACKAGE_DIR@ + tclpkg_DATA = pkgIndex.tcl + tclpkg_SCRIPTS = ifOctets.tcl + else +-pkglib_DATA = pkgIndex.tcl +-pkglib_SCRIPTS = ifOctets.tcl ++datalibdir=$(pkglibdir) ++datalib_DATA = pkgIndex.tcl ++datalib_SCRIPTS = ifOctets.tcl + endif + + # Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as diff --git a/rrdtool.changes b/rrdtool.changes index 54764d1..560de70 100644 --- a/rrdtool.changes +++ b/rrdtool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 24 10:25:44 UTC 2012 - idonmez@suse.com + +- Fix build with new automake + ------------------------------------------------------------------- Tue Apr 3 11:52:10 UTC 2012 - saschpe@suse.de diff --git a/rrdtool.spec b/rrdtool.spec index 62a03d0..3605372 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -51,6 +51,7 @@ Source: %{name}-%{version}.tar.gz Patch1: rrdtool-lua_lib64.patch Patch2: rrdtool-tclversion.patch Patch3: rrdtool-tclsegfault.patch +Patch4: rrdtool-automake.patch # http://www.infodrom.org/projects/cgilib/download/cgilib-%{cgilib_version}.tar.gz Source1: cgilib-%{cgilib_version}.tar.bz2 Patch11: cgilib-fix_automake.patch @@ -74,6 +75,7 @@ definable time period. %endif %patch2 %patch3 +%patch4 -p1 pushd "cgilib-%{cgilib_version}" %patch11 popd #cgilib