From 42dd7cf24ff77909b7672cceb3148a3f68bb360f6b2426e64ec00c4670d8e631 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 24 Nov 2016 15:03:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=2 --- .gitattributes | 25 ++++++++++ .gitignore | 1 + _service | 19 +++++++ _service:extract_file:python-rpm-macros.spec | 49 +++++++++++++++++++ ...ersion:extract_file:python-rpm-macros.spec | 49 +++++++++++++++++++ ...ython-macros-1.0git.1479999660.b291e11.tar | 3 ++ python-rpm-macros.changes | 5 ++ 7 files changed, 151 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _service:extract_file:python-rpm-macros.spec create mode 100644 _service:set_version:extract_file:python-rpm-macros.spec create mode 100644 _service:tar_scm:multipython-macros-1.0git.1479999660.b291e11.tar create mode 100644 python-rpm-macros.changes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0641a5e --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..228c40d --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + + https://github.com/openSUSE/multipython-macros.git + + multipython-macros + 1.0git + + + + + *.tar + */python-rpm-macros.spec + + + + diff --git a/_service:extract_file:python-rpm-macros.spec b/_service:extract_file:python-rpm-macros.spec new file mode 100644 index 0000000..d986b21 --- /dev/null +++ b/_service:extract_file:python-rpm-macros.spec @@ -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 diff --git a/_service:set_version:extract_file:python-rpm-macros.spec b/_service:set_version:extract_file:python-rpm-macros.spec new file mode 100644 index 0000000..a4f3ce3 --- /dev/null +++ b/_service:set_version:extract_file:python-rpm-macros.spec @@ -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 diff --git a/_service:tar_scm:multipython-macros-1.0git.1479999660.b291e11.tar b/_service:tar_scm:multipython-macros-1.0git.1479999660.b291e11.tar new file mode 100644 index 0000000..3361267 --- /dev/null +++ b/_service:tar_scm:multipython-macros-1.0git.1479999660.b291e11.tar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43196e413afa17a4f979c972835da1a22299c9b4d4fa17f2359d29da44f32cc2 +size 61440 diff --git a/python-rpm-macros.changes b/python-rpm-macros.changes new file mode 100644 index 0000000..0235bef --- /dev/null +++ b/python-rpm-macros.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Nov 24 14:57:13 UTC 2016 - jmatejek@suse.com + +- initial commit +