]> git.pld-linux.org Git - packages/conmon.git/commitdiff
use system go-md2man auto/th/conmon-2.0.30-1
authorJan Palus <atler@pld-linux.org>
Thu, 30 Sep 2021 21:11:58 +0000 (23:11 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 30 Sep 2021 21:11:58 +0000 (23:11 +0200)
conmon.spec

index e1631ff125458685762150a56e0897e02f5a77c7..4e85b7bebea4c9ede1691814ed3a59000846cff8 100644 (file)
@@ -9,6 +9,7 @@ Source0:        https://github.com/containers/conmon/archive/v%{version}/%{name}-%{vers
 # Source0-md5: e82a8ef3e184db4a5a872e4d0cd7061e
 URL:           https://github.com/containers/conmon
 BuildRequires: glib2-devel
+BuildRequires: go-md2man
 BuildRequires: libseccomp-devel
 BuildRequires: pkgconfig
 BuildRequires: systemd-devel
@@ -22,11 +23,19 @@ or crun) for a single container.
 %prep
 %setup -q
 
+%{__rm} -r tools/vendor
+
 %build
+# prevent build of go-md2man
+install -d tools/build
+: > tools/build/go-md2man
 %{__make} \
        CC="%{__cc}" \
        CFLAGS="%{rpmcppflags} %{rpmcflags}" \
-       LDLAGS="%{rpmldflags}"
+       LDLAGS="%{rpmldflags}" \
+
+%{__make} docs \
+        GOMD2MAN=/usr/bin/go-md2man
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.785355 seconds and 4 git commands to generate.