From 9695e9dee788588cef19f82e3f57c8abc6b3561adc3e57d05cde8a01091e4bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 13 Nov 2014 09:28:38 +0000 Subject: [PATCH 1/2] Accepting request 261356 from home:roman-neuhauser:branches:openSUSE:Tools PKGBUILD file for ArchLinux OBS-URL: https://build.opensuse.org/request/show/261356 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=39 --- PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c3b57ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +pkgname=spec-cleaner +pkgver=0.6.3 +pkgrel=1 +pkgdesc=".spec file cleaner" +arch=(any) +license=(BSD-3-Clause) +url=https://github.com/openSUSE/$pkgname +source=($url/$pkgname-$pkgver.tar.gz) +sha256sums=('b3c233f1832281acf6379f36a833ceaca91b28dbcc8bab99a5ba31a69c430827') +depends=(python-setuptools) +makedepends=(python python-setuptools) +# FIXME: python-mock is in the community repo which is not +# FIXME: imported into the OBS, leading to 'unresolvable' +#checkdepends=(python-mock python-nose) + +build() { + _make build +} + +#check() { +# _make test +#} + +package() { + _make install --root="$pkgdir" +} + +_make() { + cd "$srcdir/$pkgname-$pkgname-$pkgver" + python setup.py "$@" +} From e6c09913af3907699012a279c341cc998aaaaedd929126e7e2bad10b94aed939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 15 Nov 2014 10:11:14 +0000 Subject: [PATCH 2/2] - Remove PKGBUILD until service-download_files is fixed to work fine with them - Version bump to 0.6.4: * Various small fixes and macro expansion. OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/spec-cleaner?expand=0&rev=40 --- PKGBUILD | 31 ------------------------------- spec-cleaner-0.6.3.tar.gz | 3 --- spec-cleaner-0.6.4.tar.gz | 3 +++ spec-cleaner.changes | 8 ++++++++ spec-cleaner.spec | 2 +- 5 files changed, 12 insertions(+), 35 deletions(-) delete mode 100644 PKGBUILD delete mode 100644 spec-cleaner-0.6.3.tar.gz create mode 100644 spec-cleaner-0.6.4.tar.gz diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index c3b57ff..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -pkgname=spec-cleaner -pkgver=0.6.3 -pkgrel=1 -pkgdesc=".spec file cleaner" -arch=(any) -license=(BSD-3-Clause) -url=https://github.com/openSUSE/$pkgname -source=($url/$pkgname-$pkgver.tar.gz) -sha256sums=('b3c233f1832281acf6379f36a833ceaca91b28dbcc8bab99a5ba31a69c430827') -depends=(python-setuptools) -makedepends=(python python-setuptools) -# FIXME: python-mock is in the community repo which is not -# FIXME: imported into the OBS, leading to 'unresolvable' -#checkdepends=(python-mock python-nose) - -build() { - _make build -} - -#check() { -# _make test -#} - -package() { - _make install --root="$pkgdir" -} - -_make() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" - python setup.py "$@" -} diff --git a/spec-cleaner-0.6.3.tar.gz b/spec-cleaner-0.6.3.tar.gz deleted file mode 100644 index da89ff5..0000000 --- a/spec-cleaner-0.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b3c233f1832281acf6379f36a833ceaca91b28dbcc8bab99a5ba31a69c430827 -size 64252 diff --git a/spec-cleaner-0.6.4.tar.gz b/spec-cleaner-0.6.4.tar.gz new file mode 100644 index 0000000..9a8f8b4 --- /dev/null +++ b/spec-cleaner-0.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d683ae29455899fbbefd44656c7b71087188fd2e6b1a09b5f092bf425cec232 +size 64462 diff --git a/spec-cleaner.changes b/spec-cleaner.changes index 8bac21e..7d516b7 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Nov 15 10:10:29 UTC 2014 - tchvatal@suse.com + +- Remove PKGBUILD until service-download_files is fixed to work fine + with them +- Version bump to 0.6.4: + * Various small fixes and macro expansion. + ------------------------------------------------------------------- Sun Oct 12 09:33:22 UTC 2014 - tchvatal@suse.com diff --git a/spec-cleaner.spec b/spec-cleaner.spec index 6a50db4..c657dd0 100644 --- a/spec-cleaner.spec +++ b/spec-cleaner.spec @@ -20,7 +20,7 @@ # This is used for Fedora, we need to sync this %{!?py3_ver: %define py3_ver %{python3_version}} Name: spec-cleaner -Version: 0.6.3 +Version: 0.6.4 Release: 0 Summary: .spec file cleaner License: BSD-3-Clause