[packages/calc] - cleanup
qboosh
qboosh at pld-linux.org
Sun Dec 2 09:54:27 CET 2018
commit e45e5b1483e9add71bf8dbdac253ca5c98ac5c61
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 2 09:58:50 2018 +0100
- cleanup
calc.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/calc.spec b/calc.spec
index 5bbb083..e6646b3 100644
--- a/calc.spec
+++ b/calc.spec
@@ -1,7 +1,7 @@
#
-# TODO: some unpackaged libs, should we pack them as ghosts?
-#
-%bcond_without tests
+# Conditional build:
+%bcond_without tests # unit tests
+
Summary: Arbitrary precision calculator
Summary(pl.UTF-8): Kalkulator operujący na liczbach z dowolną dokładnością
Name: calc
@@ -18,6 +18,7 @@ BuildRequires: readline-devel >= 4.2
BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# libraries have circular dependencies
%define no_install_post_check_so 1
%description
@@ -76,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-rm -f $RPM_BUILD_ROOT%{_datadir}/calc/README
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/calc/README
find $RPM_BUILD_ROOT%{_datadir}/calc -type f | \
xargs %{__sed} -i -e 's|#!/usr/local/bin/calc|#!%{_bindir}/calc|g'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/calc.git/commitdiff/e45e5b1483e9add71bf8dbdac253ca5c98ac5c61
More information about the pld-cvs-commit
mailing list