Accepting request 616904 from home:NMoreyChaisemartin:branches:science:HPC
- Remove pandoc BuildRequires * Add prebuilt-pandoc.sh to pre-generate the man pages * Add prebuilt-pandoc.tgz containing pre-generated man pages * Extract man pages in the appropriate directory during build OBS-URL: https://build.opensuse.org/request/show/616904 OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=91
This commit is contained in:
parent
1834a056c9
commit
16c347ed50
12
prebuild-pandoc.sh
Normal file
12
prebuild-pandoc.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
TARBALL=$(rpmspec --parse rdma-core.spec | grep Source: | awk '{ print $NF}')
|
||||
OUTDIR=$(tar tf rdma-core-18.1.0.1f4780139d62.tar.gz | head -n 1)
|
||||
|
||||
rm -Rf $OUTDIR
|
||||
tar xf $TARBALL
|
||||
cd $OUTDIR
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make docs
|
||||
tar czf ../../prebuilt-pandoc.tgz pandoc-prebuilt
|
3
prebuilt-pandoc.tgz
Normal file
3
prebuilt-pandoc.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb73f2fca391590206191cd3e22c42b0cb55843c5a11f3c7f20b165e4b90c44b
|
||||
size 11399
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 08:54:13 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
- Remove pandoc BuildRequires
|
||||
* Add prebuilt-pandoc.sh to pre-generate the man pages
|
||||
* Add prebuilt-pandoc.tgz containing pre-generated man pages
|
||||
* Extract man pages in the appropriate directory during build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 10:40:32 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
|
@ -48,10 +48,10 @@ Group: Productivity/Networking/Other
|
||||
Url: https://github.com/linux-rdma/rdma-core
|
||||
Source: rdma-core-%{version}%{git_ver}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Source2: prebuilt-pandoc.tgz
|
||||
BuildRequires: binutils
|
||||
BuildRequires: cmake >= 2.8.11
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
@ -314,6 +314,8 @@ on those changes.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{git_ver}
|
||||
#Extract prebuilt pandoc file in the buildlib directory
|
||||
(cd buildlib && tar xf %{S:2})
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user