]> git.pld-linux.org Git - packages/R.git/commitdiff
- better fix(?) with trigger... auto/ac/R-1_9_1-3
authorundefine <undefine@pld-linux.org>
Mon, 13 Sep 2004 12:06:30 +0000 (12:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 3

Changed files:
    R.spec -> 1.53

R.spec

diff --git a/R.spec b/R.spec
index 91e9a9a046206541a2b3982baab94778e8a296a6..7656f6568c983ae1374173cc3e80044a5cd0a396 100644 (file)
--- a/R.spec
+++ b/R.spec
@@ -10,7 +10,7 @@ Summary:      A language for data analysis and graphics
 Summary(pl):   Jêzyk do analizy danych oraz grafiki
 Name:          R
 Version:       1.9.1
-Release:       2
+Release:       3
 License:       Mixed (distributable), mostly GPL
 Group:         Development/Languages
 # CRAN master site: ftp://cran.r-project.org/pub/R/src/
@@ -317,9 +317,11 @@ ln -sf %{_includedir}/R $RPM_BUILD_ROOT%{_libdir}/R/include
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre base
+%triggerun -- R-base < 1.9.1-2
 if [ -d %{_libdir}/R/include -a ! -L %{_libdir}/R/include ]; then
-       mv %{_libdir}/R/include %{_includedir}/R
+       install -d %{_includedir}/R
+       mv %{_libdir}/R/include/* %{_includedir}/R
+       rm -rf %{_libdir}/R/include
        ln -sf %{_includedir}/R %{_libdir}/R/include
 fi
 
This page took 0.039809 seconds and 4 git commands to generate.