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