forked from pool/python-rpm-macros
- set service to localonly mode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=18
This commit is contained in:
parent
7fbefafca2
commit
1cec63d883
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -22,4 +22,4 @@
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
_service:tar_scm:multipython-macros-1.0git.1483455871.9310dc2.tar filter=lfs diff=lfs merge=lfs -text
|
||||
multipython-macros-1.0git.1483455871.9310dc2.tar filter=lfs diff=lfs merge=lfs -text
|
||||
|
6
_service
6
_service
@ -1,6 +1,6 @@
|
||||
<services>
|
||||
|
||||
<service name="tar_scm">
|
||||
<service name="tar_scm" mode="localonly">
|
||||
<param name="scm">git</param>
|
||||
<!--<param name="url">file:///home/matejcik/vc/multipython-macros</param>-->
|
||||
<param name="url">https://github.com/openSUSE/multipython-macros.git</param>
|
||||
@ -10,10 +10,10 @@
|
||||
<!-- <param name="revision">optional: the commit hash, tag or branch you want to get</param>-->
|
||||
</service>
|
||||
|
||||
<service name="extract_file">
|
||||
<service name="extract_file" mode="localonly">
|
||||
<param name="archive">*.tar</param>
|
||||
<param name="files">*/python-rpm-macros.spec</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" />
|
||||
<service name="set_version" mode="localonly"/>
|
||||
</services>
|
||||
|
@ -1,55 +0,0 @@
|
||||
#
|
||||
# spec file for package python-rpm-macros
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: python-rpm-macros
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
License: WTFPL
|
||||
Summary: RPM macros for building of Python modules
|
||||
Url: https://github.com/opensuse/multipython-macros
|
||||
Source: multipython-macros-%{version}.tar
|
||||
# Fedora compatibility
|
||||
Provides: python2-rpm-macros
|
||||
Provides: python3-rpm-macros
|
||||
#!BuildIgnore: python-rpm-macros
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package contains SUSE RPM macros for Python build automation.
|
||||
You should BuildRequire this package unless you are sure that you
|
||||
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
|
||||
%endif
|
||||
|
||||
%build
|
||||
./compile-macros.sh
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||
install -m 644 macros.python_all %{buildroot}%{_sysconfdir}/rpm
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/rpm/macros.python_all
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 14:54:21 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- set service to localonly mode
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 15:06:29 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user