6
0

Accepting request 449179 from devel:languages:python:singlespec

- rework %python_alternative and remove support for %python_alternative_man
- tell service to compress the tar file

OBS-URL: https://build.opensuse.org/request/show/449179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=19
This commit is contained in:
Jan Matejek
2017-01-08 11:35:47 +00:00
committed by Git OBS Bridge
parent 759e6dc294
commit 29b9852ab5
6 changed files with 18 additions and 12 deletions

View File

@@ -16,12 +16,12 @@
#
Name: python-rpm-macros
Version: 1.0git.1483455871.9310dc2
Version: 1.0git.1483874658.ead0b0b
Release: 0
License: WTFPL
Summary: RPM macros for building of Python modules
Url: https://github.com/opensuse/multipython-macros
Source: multipython-macros-%{version}.tar
Source: multipython-macros-%{version}.tar.bz2
# Fedora compatibility
Provides: python2-rpm-macros
Provides: python3-rpm-macros
@@ -37,10 +37,7 @@ are only building for distros newer than Leap 42.2
%prep
%setup -q -n multipython-macros-%{version}
%if 0%{?suse_version} < 1330
cat > macros/035-compat-defs <<END
%%have_python2 1
%%have_python3 1
END
mv macros-default-pythons macros/035-default-pythons
%endif
%build