From 388b39cbeb26e980a35378f454ad7656761547d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 3 Mar 2008 23:30:19 +0000 Subject: [PATCH] - make install re-entrant; typo (ogr not org) Changed files: gdal.spec -> 1.51 --- gdal.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdal.spec b/gdal.spec index 521bd61..6189959 100644 --- a/gdal.spec +++ b/gdal.spec @@ -187,7 +187,9 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -mv -f ogr/html html/org +rm -rf _html +cp -a html _html +cp -a ogr/html _html/ogr %py_comp $RPM_BUILD_ROOT%{py_sitedir} %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} @@ -212,7 +214,7 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(644,root,root,755) -%doc html/* +%doc _html/* %attr(755,root,root) %{_bindir}/gdal-config %attr(755,root,root) %{_libdir}/libgdal.so %{_libdir}/libgdal.la -- 2.43.0