forked from pool/python-rpm-macros
This commit is contained in:
commit
42dd7cf24f
25
.gitattributes
vendored
Normal file
25
.gitattributes
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.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
|
||||
_service:tar_scm:multipython-macros-1.0git.1479999660.b291e11.tar filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<services>
|
||||
|
||||
<service name="tar_scm">
|
||||
<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>
|
||||
<!-- <param name="subdir">the subdirectory of your repository you want to create an archive from</param>-->
|
||||
<param name="filename">multipython-macros</param>
|
||||
<param name="versionprefix">1.0git</param>
|
||||
<!-- <param name="revision">optional: the commit hash, tag or branch you want to get</param>-->
|
||||
</service>
|
||||
|
||||
<service name="extract_file">
|
||||
<param name="archive">*.tar</param>
|
||||
<param name="files">*/python-rpm-macros.spec</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" />
|
||||
</services>
|
49
_service:extract_file:python-rpm-macros.spec
Normal file
49
_service:extract_file:python-rpm-macros.spec
Normal file
@ -0,0 +1,49 @@
|
||||
#
|
||||
# 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
|
||||
BuildRequires: perl
|
||||
# Fedora compatibility
|
||||
Provides: python2-rpm-macros
|
||||
Provides: python3-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}
|
||||
|
||||
%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
|
49
_service:set_version:extract_file:python-rpm-macros.spec
Normal file
49
_service:set_version:extract_file:python-rpm-macros.spec
Normal file
@ -0,0 +1,49 @@
|
||||
#
|
||||
# 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.0git.1479999660.b291e11
|
||||
Release: 0
|
||||
License: WTFPL
|
||||
Summary: RPM macros for building of Python modules
|
||||
Url: https://github.com/opensuse/multipython-macros
|
||||
Source: multipython-macros-%{version}.tar
|
||||
BuildRequires: perl
|
||||
# Fedora compatibility
|
||||
Provides: python2-rpm-macros
|
||||
Provides: python3-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}
|
||||
|
||||
%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
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43196e413afa17a4f979c972835da1a22299c9b4d4fa17f2359d29da44f32cc2
|
||||
size 61440
|
5
python-rpm-macros.changes
Normal file
5
python-rpm-macros.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 24 14:57:13 UTC 2016 - jmatejek@suse.com
|
||||
|
||||
- initial commit
|
||||
|
Loading…
Reference in New Issue
Block a user