forked from pool/python-rpm-macros
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:
parent
1cec63d883
commit
c6c0c932f3
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -21,5 +21,3 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
multipython-macros-1.0git.1483455871.9310dc2.tar filter=lfs diff=lfs merge=lfs -text
|
||||
|
7
_service
7
_service
@ -10,8 +10,13 @@
|
||||
<!-- <param name="revision">optional: the commit hash, tag or branch you want to get</param>-->
|
||||
</service>
|
||||
|
||||
<service name="recompress" mode="localonly">
|
||||
<param name="compression">bz2</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
|
||||
<service name="extract_file" mode="localonly">
|
||||
<param name="archive">*.tar</param>
|
||||
<param name="archive">*.tar.bz2</param>
|
||||
<param name="files">*/python-rpm-macros.spec</param>
|
||||
</service>
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c81892780213df43a50c818eade58e96fe612a7ef8a14ab7eef0e322178c3e6
|
||||
size 51200
|
3
multipython-macros-1.0git.1483874658.ead0b0b.tar.bz2
Normal file
3
multipython-macros-1.0git.1483874658.ead0b0b.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:617f47150e8ec7e28d9fa4be3e532c04cc3bba91034ba532022a34596e2b9d03
|
||||
size 10666
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 17:36:58 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- rework %python_alternative and remove support for %python_alternative_man
|
||||
- tell service to compress the tar file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 14:54:21 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user