summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2011-11-09 13:02:38 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2011-11-09 13:02:38 +0000
commit467f6dde3a762fb0d8bf9e3f7614cf71fe7f360c (patch)
tree1ac602ac54205eca546a0cf2ef83e54881ddb09f
parentd6b5de7c498e8764e10d7a96d703a1bfb86e29cb (diff)
downloadperl-RPM4-467f6dde3a762fb0d8bf9e3f7614cf71fe7f360c.tar
perl-RPM4-467f6dde3a762fb0d8bf9e3f7614cf71fe7f360c.tar.gz
perl-RPM4-467f6dde3a762fb0d8bf9e3f7614cf71fe7f360c.tar.bz2
perl-RPM4-467f6dde3a762fb0d8bf9e3f7614cf71fe7f360c.tar.xz
perl-RPM4-467f6dde3a762fb0d8bf9e3f7614cf71fe7f360c.zip
(_newspec) simplify
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@151 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/src/RPM4.xs5
1 files changed, 1 insertions, 4 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 72c9722..b33fe9b 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -416,10 +416,7 @@ void _newspec(rpmts ts, char * filename, SV * svpassphrase, SV * svrootdir, SV *
#ifdef RPM4_9_0
spec = rpmSpecParse(filename, RPMSPEC_ANYARCH|RPMSPEC_FORCE, NULL);
#else
- if (!parseSpec(ts, filename, rootdir
- , NULL
- ,0, passphrase, cookies, anyarch, force
- ))
+ if (!parseSpec(ts, filename, rootdir, NULL ,0, passphrase, cookies, anyarch, force))
spec = rpmtsSetSpec(ts, NULL);
#endif
#ifdef HHACK