Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-03-18 16:21:52 +01:00
parent 5ffa5a9542
commit a2b7919bdb

View File

@ -1,7 +1,7 @@
Summary: Hybrid image/package system Summary: Hybrid image/package system
Name: rpm-ostree Name: rpm-ostree
Version: 2018.3 Version: 2018.3
Release: 3%{?dist} Release: 4%{?dist}
#VCS: https://github.com/cgwalters/rpm-ostree #VCS: https://github.com/cgwalters/rpm-ostree
# This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot" # This tarball is generated via "make -f Makefile.dist-packaging dist-snapshot"
Source0: rpm-ostree-%{version}.tar.xz Source0: rpm-ostree-%{version}.tar.xz
@ -41,8 +41,8 @@ BuildRequires: pkgconfig(librepo)
BuildRequires: cmake BuildRequires: cmake
BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(check) BuildRequires: pkgconfig(check)
BuildRequires: python-devel BuildRequires: python2-devel
BuildRequires: python-sphinx BuildRequires: python2-sphinx
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7) %if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
BuildRequires: libsolv-devel BuildRequires: libsolv-devel
%else %else
@ -156,6 +156,10 @@ python autofiles.py > files.devel \
%files devel -f files.devel %files devel -f files.devel
%changelog %changelog
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2018.3-4
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Wed Mar 07 2018 Jonathan Lebon <jlebon@redhat.com> - 2018.3-3 * Wed Mar 07 2018 Jonathan Lebon <jlebon@redhat.com> - 2018.3-3
- Add BR on gcc-c++ - Add BR on gcc-c++