[packages/monotone] Rel 2; reliably build it
arekm
arekm at pld-linux.org
Sun Aug 16 22:38:28 CEST 2026
commit cf93640a905be9ac53e6d1fd92592c73a60729d2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Aug 16 22:38:09 2026 +0200
Rel 2; reliably build it
monotone.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/monotone.spec b/monotone.spec
index b67b962..331cd14 100644
--- a/monotone.spec
+++ b/monotone.spec
@@ -8,7 +8,7 @@ Summary: A free distributed version control system
Summary(pl.UTF-8): Wolnodostępny rozproszony system kontroli wersji
Name: monotone
Version: 1.1
-Release: 1
+Release: 2
License: GPL v2
Group: Development/Version Control
Source0: http://monotone.ca/downloads/%{version}/%{name}-%{version}.tar.bz2
@@ -74,8 +74,11 @@ jest licencjonowany na GNU GPL.
%install
rm -rf $RPM_BUILD_ROOT
+# without this automake runs install-info and leaves a %{_infodir}/dir behind,
+# but only on hosts that have it - %post regenerates the index anyway
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ AM_UPDATE_INFO_DIR=no
%find_lang %{name}
@@ -92,8 +95,6 @@ install -d $RPM_BUILD_ROOT%{bash_compdir}
$RPM_BUILD_ROOT%{bash_compdir}/mtn
rmdir $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
-%{__rm} $RPM_BUILD_ROOT%{_infodir}/dir
-
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/monotone.git/commitdiff/cf93640a905be9ac53e6d1fd92592c73a60729d2
More information about the pld-cvs-commit
mailing list