[ogre] %{_etcdir} doesn/t exist, just use /etc.

Bruno Wolff III bruno at fedoraproject.org
Tue Jan 11 06:09:39 UTC 2011


commit 122a60bf1fc371637c28d69108f888b8bc6f1901
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue Jan 11 00:07:35 2011 -0600

    %{_etcdir} doesn/t exist, just use /etc.

 ogre.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/ogre.spec b/ogre.spec
index 2a0c6d6..19c805c 100644
--- a/ogre.spec
+++ b/ogre.spec
@@ -133,10 +133,10 @@ echo "%{_libdir}/OGRE" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
 # Install the samples
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/OGRE/Samples
 install -p -m 644 lib/Sample_*.so $RPM_BUILD_ROOT%{_libdir}/OGRE/Samples
-mkdir -p $RPM_BUILD_ROOT%{_etcdir}/OGRE
+mkdir -p $RPM_BUILD_ROOT/etc/OGRE
 for cfg in plugins.cfg quakemap.cfg resources.cfg samples.cfg; do
   install -p -m 644 inst/bin/release/$cfg \
-    $RPM_BUILD_ROOT%{_etcdir}/OGRE/
+    $RPM_BUILD_ROOT%/etc/OGRE/
 done
 # Fixing bug with wrong case for media
 mv ../Samples/Media/PCZAppMedia/ROOM_NY.mesh ../Samples/Media/PCZAppMedia/room_ny.mesh
@@ -169,7 +169,7 @@ ln -s ../../../../fonts/dejavu/DejaVuSans.ttf \
 %{_libdir}/lib*Ogre*.so.*
 %{_libdir}/OGRE
 %{_datadir}/OGRE
-%dir %{_etcdir}/OGRE
+%dir /etc/OGRE
 %exclude %{_bindir}/SampleBrowser
 %exclude %{_libdir}/OGRE/Samples
 %exclude %{_datadir}/OGRE/media
@@ -190,10 +190,10 @@ ln -s ../../../../fonts/dejavu/DejaVuSans.ttf \
 %{_bindir}/SampleBrowser
 %{_libdir}/OGRE/Samples
 %{_datadir}/OGRE/media
-%{_etcdir}/OGRE/plugins.cfg
-%{_etcdir}/OGRE/quakemap.cfg
-%{_etcdir}/OGRE/resources.cfg
-%{_etcdir}/OGRE/samples.cfg
+/etc/OGRE/plugins.cfg
+/etc/OGRE/quakemap.cfg
+/etc/OGRE/resources.cfg
+/etc/OGRE/samples.cfg
 
 
 %changelog


More information about the scm-commits mailing list