summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-06-15 16:38:34 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-06-15 16:38:34 +0000
commitd4891ae3871402e57af0c7d2608d4f818d248f0e (patch)
tree6ad70f5ddda7e245604e7180800426a4d2e7469f
parent68bd0657c64546bf3d17d8a64b479b8ead0e8ace (diff)
downloadperl-RPM4-d4891ae3871402e57af0c7d2608d4f818d248f0e.tar
perl-RPM4-d4891ae3871402e57af0c7d2608d4f818d248f0e.tar.gz
perl-RPM4-d4891ae3871402e57af0c7d2608d4f818d248f0e.tar.bz2
perl-RPM4-d4891ae3871402e57af0c7d2608d4f818d248f0e.tar.xz
perl-RPM4-d4891ae3871402e57af0c7d2608d4f818d248f0e.zip
simplify
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@210 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/src/RPM4.xs11
1 files changed, 3 insertions, 8 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 507eb30..cb0641e 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -388,9 +388,7 @@ void _newdep(SV * sv_deptag, char * name, SV * sv_sense, SV * sv_evr) {
sense = sv2sens(sv_sense);
if (sv_evr && SvOK(sv_evr))
evr = SvPV_nolen(sv_evr);
- Dep = rpmdsSingle(deptag,
- name,
- evr ? evr : "", sense);
+ Dep = rpmdsSingle(deptag, name, evr ? evr : "", sense);
if (Dep) {
mXPUSHs(sv_setref_pv(newSVpvs(""), bless_rpmds, Dep));
}
@@ -2344,8 +2342,7 @@ Dep_add(Dep, name, sv_sense = NULL, sv_evr = NULL)
sense = sv2sens(sv_sense);
if (sv_evr && SvOK(sv_evr))
evr = SvPV_nolen(sv_evr);
- Deptoadd = rpmdsSingle(rpmdsTagN(Dep), name,
- evr ? evr : "", sense);
+ Deptoadd = rpmdsSingle(rpmdsTagN(Dep), name, evr ? evr : "", sense);
if (Deptoadd) {
rpmdsMerge(&Dep, Deptoadd);
Deptoadd = rpmdsFree(Deptoadd);
@@ -2730,9 +2727,7 @@ Spec_srcrpm(spec)
char *nvr = headerGetAsString(header, RPMTAG_NVR);
mXPUSHs(newSVpvf("%s/%s.%ssrc.rpm",
rpmGetPath("%{_srcrpmdir}", NULL),
- nvr,
- no_src ? "no" : ""
- ));
+ nvr, no_src ? "no" : ""));
void
Spec_binrpm(spec)