---- /home/users/qboosh/rpm/BUILD/createrepo_c-0.10.0/CMakeLists.txt.orig 2018-05-11 22:44:34.072652081 +0200
-+++ /home/users/qboosh/rpm/BUILD/createrepo_c-0.10.0/CMakeLists.txt 2018-05-12 08:30:25.683823187 +0200
+--- createrepo_c-0.10.0/CMakeLists.txt.orig 2018-05-11 22:44:34.072652081 +0200
++++ createrepo_c-0.10.0/CMakeLists.txt 2018-05-12 08:30:25.683823187 +0200
@@ -98,21 +98,25 @@
# Other files
%endif
BuildRequires: rpm-devel >= 5
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.673
BuildRequires: sphinx-pdg-2
BuildRequires: sqlite3-devel >= 3
BuildRequires: xz-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
install -d build %{?with_python3:build-py3}
cd build
%cmake .. \
- -DBASHCOMP_DIR=%{bashcomp_dir}
+ -DBASHCOMP_DIR=%{bash_compdir}
%{__make}
%{__make} doc
%if %{with python3}
cd build-py3
%cmake .. \
- -DBASHCOMP_DIR=%{bashcomp_dir} \
+ -DBASHCOMP_DIR=%{bash_compdir} \
-DPYTHON_DESIRED=3
%{__make}