Modify build.spec and expandes
authorjiankang.fan <jiankang.fan@samsung.com>
Fri, 11 Mar 2016 03:10:17 +0000 (11:10 +0800)
committerSoonKyu Park <sk7.park@samsung.com>
Wed, 15 Jun 2016 05:19:33 +0000 (14:19 +0900)
Change-Id: I83c41feb2c573e9c4ba854cf2c2ef843a3a8cd80
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
expanddeps
packaging/build.spec

index 6657b06..387daf7 100755 (executable)
@@ -374,7 +374,7 @@ if ($recipe) {
   @packdeps = @{$d->{'deps'} || []};
   if ($d->{'prereqs'}) {
     my %deps = map {$_ => 1} (@packdeps, @{$d->{'subpacks'} || []});
-    push @packdeps, '--directdepsend--', grep {!$deps{$_} && !/^%/} @{$d->{'prereqs'}};
+    push @packdeps, grep {!$deps{$_} && !/^%/} @{$d->{'prereqs'}};
   }
 }
 
index 5824f7b..cee616a 100644 (file)
@@ -21,7 +21,6 @@ Summary:        A Script to Build SUSE Linux RPMs
 License:        GPL-2.0+ and GPL-2.0
 Epoch:          1
 Group:          Development/Tools/Building
-Epoch:          1
 %if 0%{?suse_version} >= 1230
 Version:        20150115 
 %else