Projects
Eulaceura:Factory
R-memoise
_service:obs_scm:R-memoise.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:R-memoise.spec of Package R-memoise
%global packname memoise %global packver 2.0.0 Name: R-%{packname} Version: %{packver} Release: 1 Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz License: MIT URL: http://cran.r-project.org/web/packages/memoise/index.html Summary: Memoisation of functions BuildRequires: R-devel >= 3.0.0, tetex-latex, R-digest-devel, R-rlang >= 0.4.10, R-cachem BuildArch: noarch %description Cache the results of a function so that when you call it again with the same arguments it returns the pre-computed value. %prep %setup -q -c -n %{packname} sed -i 's/, covr//g' %{packname}/DESCRIPTION %build %install mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library %{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_datadir}/R/library %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf $RPM_BUILD_ROOT%{_datadir}/R/library/R.css %check # Missing ton of dependencies, so not today sir ##{_bindir}/R CMD check %%{packname} %files %dir %{_datadir}/R/library/%{packname} %doc %{_datadir}/R/library/%{packname}/LICENSE %doc %{_datadir}/R/library/%{packname}/html %doc %{_datadir}/R/library/%{packname}/NEWS.md %{_datadir}/R/library/%{packname}/DESCRIPTION %{_datadir}/R/library/%{packname}/INDEX %{_datadir}/R/library/%{packname}/NAMESPACE %{_datadir}/R/library/%{packname}/Meta %{_datadir}/R/library/%{packname}/R %{_datadir}/R/library/%{packname}/help %changelog * Wed Jun 15 2022 misaka00251 <misaka00251@misakanet.cn> - 2.0.0-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