]> git.pld-linux.org Git - packages/R.git/commitdiff
- added bcond_without tests (for make check)
authorradek <radek@pld-linux.org>
Sat, 24 Nov 2007 12:25:11 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added R.pc
- removed /usr/lib/R/share/perl/**.pm

Changed files:
    R.spec -> 1.95

R.spec

diff --git a/R.spec b/R.spec
index da7ddcd2261a4e18e187f045a5ac4571730e9216..62e333aa99ea90ea228d453759bc7cc0415a7d9d 100644 (file)
--- a/R.spec
+++ b/R.spec
@@ -1,6 +1,7 @@
 
 # Conditional build
 %bcond_without tcl             # disable tcl support
+%bcond_without tests           # do not run "make check"
 
 # TODO:
 # - script for rpm to autoprovides/autorequires R internals
@@ -182,7 +183,7 @@ dystrubuowane w archiwum CRAN (Comprehensive R Archive Network).
 #      --with-lapack \
 
 %{__make}
-%{__make} check docs help html info
+%{__make} %{?with_tests:check} docs help html info
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -211,6 +212,9 @@ for f in * ; do
   ln -s %{_libdir}/%{name}/share/perl/Text/$f $RPM_BUILD_ROOT%{perl_vendorlib}/Text/
 done)
 
+rm -r $RPM_BUILD_ROOT%{_libdir}/R/share/perl/{R,File,Text}
+rm -r $RPM_BUILD_ROOT%{perl_vendorlib}/Text
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -255,9 +259,7 @@ rm -rf $RPM_BUILD_ROOT
 %ghost %{_libdir}/R/doc/html/packages.html
 %{_desktopdir}/*.desktop
 
-%dir %{perl_vendorlib}/R
-%{perl_vendorlib}/R/*
-%{perl_vendorlib}/Text/*
+%{perl_vendorlib}/R
 
 %attr(755,root,root) %{_libdir}/%{name}/modules
 
@@ -289,5 +291,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{name}/library/tools
 %{_libdir}/%{name}/library/utils
 
+%{_pkgconfigdir}/*.pc
+
 %files recommended
 %defattr(644,root,root,755)
This page took 0.079193 seconds and 4 git commands to generate.