Move macros.pybytecompile from python3-devel
- https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation - No conflicts need to be added the file is renamed - If both files are present, there is no harm, so we'll just remove it from 3.7
This commit is contained in:
parent
21ac2a9653
commit
3c79d6a899
@ -1,6 +1,6 @@
|
|||||||
Name: python-rpm-macros
|
Name: python-rpm-macros
|
||||||
Version: 3
|
Version: 3
|
||||||
Release: 28%{?dist}
|
Release: 29%{?dist}
|
||||||
Summary: The unversioned Python RPM macros
|
Summary: The unversioned Python RPM macros
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -8,6 +8,7 @@ Source0: macros.python
|
|||||||
Source1: macros.python-srpm
|
Source1: macros.python-srpm
|
||||||
Source2: macros.python2
|
Source2: macros.python2
|
||||||
Source3: macros.python3
|
Source3: macros.python3
|
||||||
|
Source4: macros.pybytecompile
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# For %%python3_pkgversion used in %%python_provide
|
# For %%python3_pkgversion used in %%python_provide
|
||||||
@ -51,12 +52,13 @@ RPM macros for building Python 3 packages.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/%{rpmmacrodir}
|
mkdir -p %{buildroot}/%{rpmmacrodir}
|
||||||
install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
|
install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
|
||||||
%{buildroot}/%{rpmmacrodir}/
|
%{buildroot}/%{rpmmacrodir}/
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{rpmmacrodir}/macros.python
|
%{rpmmacrodir}/macros.python
|
||||||
|
%{rpmmacrodir}/macros.pybytecompile
|
||||||
|
|
||||||
%files -n python-srpm-macros
|
%files -n python-srpm-macros
|
||||||
%{rpmmacrodir}/macros.python-srpm
|
%{rpmmacrodir}/macros.python-srpm
|
||||||
@ -69,6 +71,9 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 18 2018 Miro Hrončok <mhroncok@redhat.com> - 3-29
|
||||||
|
- move macros.pybytecompile from python3-devel
|
||||||
|
|
||||||
* Fri Apr 06 2018 Tomas Orsava <torsava@redhat.com> - 3-28
|
* Fri Apr 06 2018 Tomas Orsava <torsava@redhat.com> - 3-28
|
||||||
- Fix the %%py_dist_name macro to not convert dots (".") into dashes, so that
|
- Fix the %%py_dist_name macro to not convert dots (".") into dashes, so that
|
||||||
submodules can be addressed as well
|
submodules can be addressed as well
|
||||||
|
Loading…
Reference in New Issue
Block a user