diff --git a/xcb-proto.spec b/xcb-proto.spec index 7c82073..084bbcc 100644 --- a/xcb-proto.spec +++ b/xcb-proto.spec @@ -29,14 +29,14 @@ the protocol. %build # Bit of a hack to get the pc file in /usr/share, so we can be noarch. %configure --libdir=%{_datadir} -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%make_install %files -%doc COPYING NEWS README TODO doc/xml-xcb.txt +%license COPYING +%doc NEWS README TODO doc/xml-xcb.txt %{_datadir}/pkgconfig/xcb-proto.pc %dir %{_datadir}/xcb/ %{_datadir}/xcb/*.xsd @@ -46,6 +46,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %changelog * Sat May 30 2020 Björn Esser - 1.13-12 - Add patch to fix python module for use with Python 3.9 +- Modernize spec file * Tue May 26 2020 Miro Hrončok - 1.13-11 - Rebuilt for Python 3.9