use %make_build

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-07-11 16:53:58 +02:00
parent 3a76d2b9ef
commit 37466d9e02

View File

@ -25,22 +25,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The pkg-config file for %{name}.
%prep
%setup -q
%build
%configure --enable-dockbook-docs
make %{?_smp_mflags}
%make_build
%install
%make_install
install -dm 755 %{_buildroot}/%{_pkgdocdir}
install -pm 644 README.md %{_buildroot}/%{_pkgdocdir}
%files
%doc %{_pkgdocdir}
%license COPYING
@ -52,7 +48,6 @@ install -pm 644 README.md %{_buildroot}/%{_pkgdocdir}
%files devel
%{_libdir}/pkgconfig/xdg-desktop-portal.pc
%changelog
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
- Initial Fedora packaging