[X2Go-Commits] [pinentry-x2go] 02/04: pinentry-x2go.spec: use more curly braces, delete superfluous semicolons and unused code.
git-admin at x2go.org
git-admin at x2go.org
Fri Nov 23 04:26:52 CET 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pinentry-x2go.
commit 1eb2de8f910440947cd132fa2aff4872a6f7348f
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Nov 12 00:02:22 2018 +0100
pinentry-x2go.spec: use more curly braces, delete superfluous semicolons and unused code.
---
debian/changelog | 1 +
pinentry-x2go.spec | 15 +++++++--------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 54214a5..99e22f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ pinentry-x2go (0.7.5.10-0x2go1) UNRELEASED; urgency=low
- Pull in redhat-rpm-config manually. This should probably be done by
something else, like... gcc or qmake or qt(4)-dev, but it isn't.
- Remove old distro support.
+ - Use more curly braces, delete superfluous semicolons and unused code.
[ Mike Gabriel ]
* New upstream version (0.7.5.10):
diff --git a/pinentry-x2go.spec b/pinentry-x2go.spec
index 2b8a377..af31d54 100644
--- a/pinentry-x2go.spec
+++ b/pinentry-x2go.spec
@@ -34,21 +34,20 @@ x2goclient.
%build
if [ ! -e configure ]; then
- autoreconf -fi;
-fi;
+ autoreconf -fi
+fi
%configure
-make %{?_smp_mflags};
+make %{?_smp_mflags}
%install
-b="%buildroot";
-pushd pinentry-x2go/;
+pushd pinentry-x2go/
# Why on earth does every goddamn build system have to use different names
# for DESTDIR, and force strip on us?
-make install DESTDIR="%buildroot" INSTALL_ROOT="%buildroot" STRIP="true";
-popd;
+make install DESTDIR="%{buildroot}" INSTALL_ROOT="%{buildroot}" STRIP="true"
+popd
%files
%defattr(-,root,root)
-%_bindir/pinentry-x2go
+%{_bindir}/pinentry-x2go
%changelog
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pinentry-x2go.git
More information about the x2go-commits
mailing list