Projects
Eulaceura:Mainline:GA
R-rprojroot
_service:obs_scm:R-rprojroot.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:R-rprojroot.spec of Package R-rprojroot
# Bootstrap %bcond_without bootstrap %global packname rprojroot %global packver 2.0.2 %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 2.0.2 Release: 1 Summary: Finding Files in Project Subdirectories License: MIT URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) %if %{without bootstrap} BuildRequires: R-knitr BuildRequires: R-lifecycle BuildRequires: R-mockr BuildRequires: R-rmarkdown BuildRequires: R-testthat >= 3.0.0 BuildRequires: R-withr %endif %description Robust, reliable and flexible paths to files below a project root. The 'root' of a project is defined as a directory that matches a certain criterion, e.g., it contains a certain regular file. %prep %setup -q -c -n %{packname} sed -i 's/covr, //' %{packname}/DESCRIPTION %build %install mkdir -p %{buildroot}%{rlibdir} %{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -f %{buildroot}%{rlibdir}/R.css %check %if %{without bootstrap} export NOT_CRAN=true %{_bindir}/R CMD check %{packname} %else _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-tests %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %license %{rlibdir}/%{packname}/LICENSE %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/WORDLIST %changelog * Wed Jun 15 2022 misaka00251 <misaka00251@misakanet.cn> - 2.0.2-1 - Init package (Thanks to fedora team)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2