diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-20 07:16:43 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-20 08:01:29 +0100 |
commit | 1d4b3375431d2d19d511aa5784f2c1ed1e6bbb9e (patch) | |
tree | 6339c648c7d2ce2aa21f4d19cd03d61715e290c2 /dracut.spec | |
parent | 8c67d395d42b4e34c10418aa6c167122a72a951b (diff) | |
download | dracut-1d4b3375431d2d19d511aa5784f2c1ed1e6bbb9e.tar.gz dracut-1d4b3375431d2d19d511aa5784f2c1ed1e6bbb9e.tar.bz2 dracut-1d4b3375431d2d19d511aa5784f2c1ed1e6bbb9e.zip |
dracut.spec: use configure
Diffstat (limited to 'dracut.spec')
-rw-r--r-- | dracut.spec | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dracut.spec b/dracut.spec index cd61770f..93d497e3 100644 --- a/dracut.spec +++ b/dracut.spec @@ -194,20 +194,17 @@ git am -p1 %{patches} %endif %build -make all +%configure --systemdsystemunitdir=%{_unitdir} --bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) --libdir=%{_prefix}/lib + +make %{?_smp_mflags} %install %if 0%{?fedora} || 0%{?rhel} rm -rf $RPM_BUILD_ROOT %endif -make install DESTDIR=$RPM_BUILD_ROOT \ - libdir=%{_prefix}/lib \ - bindir=%{_bindir} \ -%if %{defined _unitdir} - systemdsystemunitdir=%{_unitdir} \ -%endif - sysconfdir=/etc mandir=%{_mandir} \ - bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) +make %{?_smp_mflags} install \ + DESTDIR=$RPM_BUILD_ROOT \ + libdir=%{_prefix}/lib echo "DRACUT_VERSION=%{version}-%{release}" > $RPM_BUILD_ROOT/%{dracutlibdir}/dracut-version.sh |