aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-29 12:40:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-29 12:40:22 +0100
commit804584cb18349efb48ca7501af4b43b7641011ad (patch)
treebb063395eeb45c33fb5e37900ae84a1531f25442 /nx-libs.spec
parent0b9fce27be48553f578529ea41da5baf6a22a22f (diff)
downloadnx-libs-804584cb18349efb48ca7501af4b43b7641011ad.tar.gz
nx-libs-804584cb18349efb48ca7501af4b43b7641011ad.tar.bz2
nx-libs-804584cb18349efb48ca7501af4b43b7641011ad.zip
Don't fail if removing *.a files fails due to the files being non-present.
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index a143050b5..77e7ad5c4 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -740,8 +740,8 @@ make install \
INSTALL_FILE="install -pm0644" \
INSTALL_PROGRAM="install -pm0755"
-# Remove static libs
-rm %{buildroot}%{_libdir}/*.a
+# Remove static libs (they don't exist on SLES, so using -f here)
+rm -f %{buildroot}%{_libdir}/*.a
# Make sure x2goagent is linked relative and on 64-bit
mkdir -p %{buildroot}%{_libdir}/x2go/bin