packaging: minor fixes 32/183832/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 11 Jul 2018 10:07:45 +0000 (12:07 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 11 Jul 2018 10:08:27 +0000 (12:08 +0200)
Change-Id: I8b61b31c52ff190ac6541e90762fd0895ed018e8

packaging/dbus-tools.spec

index 4017cb97b11a50baf4562f164b435fe18bd7ef86..41b26f5ca66d2fff75ea9daae4de3c652759318a 100644 (file)
@@ -4,8 +4,9 @@ Version:   0.1
 Release:   1
 License:   Apache-2.0, MIT
 Requires:  libxslt-tools cynara
-Source:    dbus-tools.tar.gz
-Source101: packaging/dbus-tools.manifest
+Source:    %{name}-%{version}.tar.gz
+Source101: dbus-tools.manifest
+BuildRequires: autoconf
 
 %description
 This package provides a set of tools for working with D-Bus.
@@ -15,6 +16,7 @@ It checks syntax and semantics, looking for common errors.
 
 %prep
 %setup -q
+cp %{SOURCE101} .
 
 %build
 pushd policychecker
@@ -22,8 +24,6 @@ autoconf
 %configure
 popd
 
-cp %{SOURCE101} .
-
 %install
 %make_install