forked from pool/python-jsonpath-rw
Accepting request 668741 from home:jbrownell:branches:devel:languages:python
- Remove redundant /etc/alternatives files produced on Red Hat OBS-URL: https://build.opensuse.org/request/show/668741 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpath-rw?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
1b91b9d38f
commit
3c03a98a67
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 23:06:06 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>
|
||||
|
||||
- Remove redundant /etc/alternatives files produced on Red Hat
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:49:35 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -37,6 +37,11 @@ Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
# detritus in /etc/alternatives from brp-python-bytecompile must be removed
|
||||
%define __os_install_post %(echo '%{__os_install_post}; \
|
||||
rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyo; \
|
||||
rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyc')
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user