commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2020-08-04 20:17:50 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new.3592 (New) Package is "obs-service-recompress" Tue Aug 4 20:17:50 2020 rev:17 rq:824028 version:0.5.1 Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2020-07-28 17:23:46.805798657 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new.3592/obs-service-recompress.changes 2020-08-04 20:18:09.460923195 +0200 @@ -1,0 +2,6 @@ +Mon Aug 03 05:25:43 UTC 2020 - adr...@suse.de + +- Update to version 0.5.1: + * Use at least 2 threads for xz compression + +--- Old: obs-service-recompress-0.5.0.tar.gz New: obs-service-recompress-0.5.1.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.8jXGzF/_old 2020-08-04 20:18:11.152923960 +0200 +++ /var/tmp/diff_new_pack.8jXGzF/_new 2020-08-04 20:18:11.152923960 +0200 @@ -19,7 +19,7 @@ %define service recompress Name: obs-service-%{service} -Version:0.5.0 +Version:0.5.1 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0-or-later ++ PKGBUILD ++ --- /var/tmp/diff_new_pack.8jXGzF/_old 2020-08-04 20:18:11.188923976 +0200 +++ /var/tmp/diff_new_pack.8jXGzF/_new 2020-08-04 20:18:11.188923976 +0200 @@ -1,5 +1,5 @@ pkgname=obs-service-recompress -pkgver=0.5.0 +pkgver=0.5.1 pkgrel=0 pkgdesc="An OBS source service: Recompress files" arch=('i686' 'x86_64') ++ _service ++ --- /var/tmp/diff_new_pack.8jXGzF/_old 2020-08-04 20:18:11.220923990 +0200 +++ /var/tmp/diff_new_pack.8jXGzF/_new 2020-08-04 20:18:11.220923990 +0200 @@ -3,8 +3,8 @@ g...@github.com:openSUSE/obs-service-recompress.git git .git -0.5.0 -0.5.0 +0.5.1 +0.5.1 enable ++ _servicedata ++ --- /var/tmp/diff_new_pack.8jXGzF/_old 2020-08-04 20:18:11.240923999 +0200 +++ /var/tmp/diff_new_pack.8jXGzF/_new 2020-08-04 20:18:11.240923999 +0200 @@ -1,6 +1,6 @@ g...@github.com:openSUSE/obs-service-recompress.git - a821ab0e08ec171891c3bbcf16fd97c3cf00a82b + c11e489efc15590506dba3736d84b6e9d9d0b739 - + \ No newline at end of file ++ debian.dsc ++ --- /var/tmp/diff_new_pack.8jXGzF/_old 2020-08-04 20:18:11.260924008 +0200 +++ /var/tmp/diff_new_pack.8jXGzF/_new 2020-08-04 20:18:11.260924008 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-recompress -Version: 0.5.0-0 +Version: 0.5.1-0 Binary: obs-service-recompress Maintainer: Adrian Schroeter Architecture: all ++ obs-service-recompress-0.5.0.tar.gz -> obs-service-recompress-0.5.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.5.0/dist/obs-service-recompress.spec new/obs-service-recompress-0.5.1/dist/obs-service-recompress.spec --- old/obs-service-recompress-0.5.0/dist/obs-service-recompress.spec 2020-07-27 08:23:34.0 +0200 +++ new/obs-service-recompress-0.5.1/dist/obs-service-recompress.spec 2020-08-03 07:24:32.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,21 +19,29 @@ %define service recompress Name: obs-service-%{service} -Version:0.4.0+git20200123.946b23f +Version:0.5.0 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0-or-later Group: Development/Tools/Building -Url:https://github.com/openSUSE/obs-service-%{service} +URL:https://github.com/openSUSE/obs-service-%{service} Source: %{name}-%{version}.tar.gz +BuildRequires: perl(Test::More) + BuildRequires: bzip2 BuildRequires: gzip BuildRequires: xz -BuildRequires: zstd Requires: bzip2 Requires: gzip Requires: xz + +%if (0%{?suse_version} <= 1500 && 0%{?sle_version} <= 15) || 0%{?fedora_version} < 25 || 0%{?rhel_version} < 6 +# noop +%else +BuildRequires: zstd Requires: zstd +%endif + BuildArch: noarch %description @@ -54,14 +62,13 @@ %build %install -%makeinstall +make DESTDIR=%buildroot install %check make test %files %defattr(-,root,root) -%license COPYING %dir
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2020-07-28 17:23:13 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new.3592 (New) Package is "obs-service-recompress" Tue Jul 28 17:23:13 2020 rev:16 rq:822924 version:0.5.0 Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2020-01-27 00:21:20.765450344 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new.3592/obs-service-recompress.changes 2020-07-28 17:23:46.805798657 +0200 @@ -1,0 +2,10 @@ +Mon Jul 27 06:25:18 UTC 2020 - adr...@suse.de + +- Update to version 0.5.0: + * do not follow symlinks (issue 9) + * add license file + * compression using # of core threads for zstd and xz + * Add support for keeping of original file + * use --threads=0 + +--- Old: obs-service-recompress-0.4.0+git20200123.696d003.tar.gz New: obs-service-recompress-0.5.0.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.niw8Qu/_old 2020-07-28 17:23:51.237803686 +0200 +++ /var/tmp/diff_new_pack.niw8Qu/_new 2020-07-28 17:23:51.241803690 +0200 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,21 +19,30 @@ %define service recompress Name: obs-service-%{service} -Version:0.4.0+git20200123.696d003 +Version:0.5.0 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0-or-later Group: Development/Tools/Building -Url:https://github.com/openSUSE/obs-service-%{service} +URL:https://github.com/openSUSE/obs-service-%{service} Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl(Test::More) + BuildRequires: bzip2 BuildRequires: gzip BuildRequires: xz -BuildRequires: zstd Requires: bzip2 Requires: gzip Requires: xz + +%if (0%{?suse_version} <= 1500 && 0%{?sle_version} <= 15) || 0%{?fedora_version} < 25 || 0%{?rhel_version} < 6 +# noop +%else +BuildRequires: zstd Requires: zstd +%endif + BuildArch: noarch %description @@ -54,7 +63,7 @@ %build %install -%makeinstall +make DESTDIR=%buildroot install %check make test ++ PKGBUILD ++ --- /var/tmp/diff_new_pack.niw8Qu/_old 2020-07-28 17:23:51.269803722 +0200 +++ /var/tmp/diff_new_pack.niw8Qu/_new 2020-07-28 17:23:51.269803722 +0200 @@ -1,5 +1,5 @@ pkgname=obs-service-recompress -pkgver=0.4.0+git20200123.696d003 +pkgver=0.5.0 pkgrel=0 pkgdesc="An OBS source service: Recompress files" arch=('i686' 'x86_64') ++ _service ++ --- /var/tmp/diff_new_pack.niw8Qu/_old 2020-07-28 17:23:51.285803740 +0200 +++ /var/tmp/diff_new_pack.niw8Qu/_new 2020-07-28 17:23:51.285803740 +0200 @@ -2,9 +2,9 @@ g...@github.com:openSUSE/obs-service-recompress.git git -git-master -@PARENT_TAG@+git%cd.%h -master +.git +0.5.0 +0.5.0 enable ++ _servicedata ++ --- /var/tmp/diff_new_pack.niw8Qu/_old 2020-07-28 17:23:51.301803758 +0200 +++ /var/tmp/diff_new_pack.niw8Qu/_new 2020-07-28 17:23:51.305803763 +0200 @@ -1,4 +1,6 @@ - -g...@github.com:openSUSE/obs-service-recompress.git - 696d003be1c1ac48e4a77dedb4e594c794a301fe \ No newline at end of file + + g...@github.com:openSUSE/obs-service-recompress.git + a821ab0e08ec171891c3bbcf16fd97c3cf00a82b + + ++ debian.dsc ++ --- /var/tmp/diff_new_pack.niw8Qu/_old 2020-07-28 17:23:51.317803776 +0200 +++ /var/tmp/diff_new_pack.niw8Qu/_new 2020-07-28 17:23:51.321803781 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-recompress -Version: 0.4.0+git20200123.696d003-0 +Version: 0.5.0-0 Binary: obs-service-recompress Maintainer: Adrian Schroeter Architecture: all ++ obs-service-recompress-0.4.0+git20200123.696d003.tar.gz -> obs-service-recompress-0.5.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.4.0+git20200123.696d003/COPYING new/obs-service-recompress-0.5.0/COPYING --- old/obs-service-recompress-0.4.0+git20200123.696d003/COPYING 1970-01-01 01:00:00.0 +0100 +++ new/obs-service-recompress-0.5.0/COPYING2020-07-27
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2020-01-27 00:21:06 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new.26092 (New) Package is "obs-service-recompress" Mon Jan 27 00:21:06 2020 rev:15 rq:766573 version:0.4.0+git20200123.696d003 Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2017-10-17 01:50:18.716635282 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new.26092/obs-service-recompress.changes 2020-01-27 00:21:20.765450344 +0100 @@ -1,0 +2,12 @@ +Thu Jan 23 08:44:27 UTC 2020 - adr...@suse.de + +- Update to version 0.4.0+git20200123.696d003: + * run test suite during build + +--- +Thu Jan 23 08:34:09 UTC 2020 - adr...@suse.de + +- Update to version 0.4.0+git20200123.946b23f: + * add zstd compression support + +--- Old: obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz New: obs-service-recompress-0.4.0+git20200123.696d003.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.M2OMXZ/_old 2020-01-27 00:21:22.893452160 +0100 +++ /var/tmp/diff_new_pack.M2OMXZ/_new 2020-01-27 00:21:22.893452160 +0100 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -12,24 +12,28 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define service recompress Name: obs-service-%{service} -Version:0.3.1+git20170704.59bf231 +Version:0.4.0+git20200123.696d003 Release:0 Summary:An OBS source service: Recompress files -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Development/Tools/Building Url:https://github.com/openSUSE/obs-service-%{service} Source: %{name}-%{version}.tar.gz +BuildRequires: bzip2 +BuildRequires: gzip +BuildRequires: xz +BuildRequires: zstd Requires: bzip2 Requires: gzip Requires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: zstd BuildArch: noarch %description @@ -41,6 +45,7 @@ gz : Gzip Compression bz2 : Bzip2 Compression xz : XZ Compression + zstd : Zstd Compression %prep @@ -51,6 +56,9 @@ %install %makeinstall +%check +make test + %files %defattr(-,root,root) %dir %{_prefix}/lib/obs ++ PKGBUILD ++ --- /var/tmp/diff_new_pack.M2OMXZ/_old 2020-01-27 00:21:22.921452185 +0100 +++ /var/tmp/diff_new_pack.M2OMXZ/_new 2020-01-27 00:21:22.921452185 +0100 @@ -1,12 +1,12 @@ pkgname=obs-service-recompress -pkgver=0.3.1+git20170704.59bf231 +pkgver=0.4.0+git20200123.696d003 pkgrel=0 pkgdesc="An OBS source service: Recompress files" arch=('i686' 'x86_64') url="https://www.github.com/openSUSE/obs-service-recompress; license=('GPL-2.0+' 'GPL-2.0') groups=('base-devel') -depends=('python') +depends=('gzip', 'bzip2', 'xz', 'zstd') source=(obs-service-recompress-${pkgver}.tar.gz) md5sums=('SKIP') ++ _service ++ --- /var/tmp/diff_new_pack.M2OMXZ/_old 2020-01-27 00:21:22.941452201 +0100 +++ /var/tmp/diff_new_pack.M2OMXZ/_new 2020-01-27 00:21:22.945452204 +0100 @@ -2,7 +2,6 @@ g...@github.com:openSUSE/obs-service-recompress.git git -.git git-master @PARENT_TAG@+git%cd.%h master ++ _servicedata ++ --- /var/tmp/diff_new_pack.M2OMXZ/_old 2020-01-27 00:21:22.961452218 +0100 +++ /var/tmp/diff_new_pack.M2OMXZ/_new 2020-01-27 00:21:22.96545 +0100 @@ -1,4 +1,4 @@ g...@github.com:openSUSE/obs-service-recompress.git - e79e48c8d95b85a2d1fbd47d365b3a287441cfc8 \ No newline at end of file + 696d003be1c1ac48e4a77dedb4e594c794a301fe \ No newline at end of file ++ debian.dsc ++ --- /var/tmp/diff_new_pack.M2OMXZ/_old 2020-01-27 00:21:22.985452239 +0100 +++ /var/tmp/diff_new_pack.M2OMXZ/_new 2020-01-27 00:21:22.985452239 +0100 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-recompress -Version: 0.3.1+git20170704.59bf231-0 +Version: 0.4.0+git20200123.696d003-0 Binary:
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2017-10-17 01:50:14 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is "obs-service-recompress" Tue Oct 17 01:50:14 2017 rev:14 rq:533179 version:0.3.1+git20170704.59bf231 Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2016-03-17 16:48:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2017-10-17 01:50:18.716635282 +0200 @@ -1,0 +2,7 @@ +Fri Sep 01 11:11:35 UTC 2017 - adr...@suse.de + +- Update to version 0.3.1+git20170704.59bf231: + * Add README.md file + * [dist] added spec file to git + +--- Old: obs-service-recompress-0.3.1+git20160217.7897d3f.tar.gz New: PKGBUILD obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.dHXm3L/_old 2017-10-17 01:50:20.792538025 +0200 +++ /var/tmp/diff_new_pack.dHXm3L/_new 2017-10-17 01:50:20.796537838 +0200 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -19,7 +19,7 @@ %define service recompress Name: obs-service-%{service} -Version:0.3.1+git20160217.7897d3f +Version:0.3.1+git20170704.59bf231 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0+ ++ PKGBUILD ++ pkgname=obs-service-recompress pkgver=0.3.1+git20170704.59bf231 pkgrel=0 pkgdesc="An OBS source service: Recompress files" arch=('i686' 'x86_64') url="https://www.github.com/openSUSE/obs-service-recompress; license=('GPL-2.0+' 'GPL-2.0') groups=('base-devel') depends=('python') source=(obs-service-recompress-${pkgver}.tar.gz) md5sums=('SKIP') package() { msg "Installing build ..." cd "${srcdir}"/obs-service-recompress-${pkgver} mkdir -p ${pkgdir}/usr/lib/obs/service install -m 0755 recompress ${pkgdir}/usr/lib/obs/service install -m 0644 recompress.service ${pkgdir}/usr/lib/obs/service } ++ _servicedata ++ --- /var/tmp/diff_new_pack.dHXm3L/_old 2017-10-17 01:50:20.868534465 +0200 +++ /var/tmp/diff_new_pack.dHXm3L/_new 2017-10-17 01:50:20.872534277 +0200 @@ -1,4 +1,4 @@ g...@github.com:openSUSE/obs-service-recompress.git - 7897d3fd693fb16a4726da3cc258194c97e619de \ No newline at end of file + e79e48c8d95b85a2d1fbd47d365b3a287441cfc8 \ No newline at end of file ++ debian.dsc ++ --- /var/tmp/diff_new_pack.dHXm3L/_old 2017-10-17 01:50:20.904532779 +0200 +++ /var/tmp/diff_new_pack.dHXm3L/_new 2017-10-17 01:50:20.904532779 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-recompress -Version: 0.3.1+git20160217.7897d3f +Version: 0.3.1+git20170704.59bf231-0 Binary: obs-service-recompress Maintainer: Adrian SchroeterArchitecture: all ++ obs-service-recompress-0.3.1+git20160217.7897d3f.tar.gz -> obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1+git20160217.7897d3f/README.md new/obs-service-recompress-0.3.1+git20170704.59bf231/README.md --- old/obs-service-recompress-0.3.1+git20160217.7897d3f/README.md 1970-01-01 01:00:00.0 +0100 +++ new/obs-service-recompress-0.3.1+git20170704.59bf231/README.md 2017-07-04 11:10:25.0 +0200 @@ -0,0 +1,13 @@ +# recompress (OBS source service) + +This is an [Open Build Service](http://openbuildservice.org/) source service. It supports to compress, uncompress or recompress files from or to + +* none : No Compression +* gz : Gzip Compression +* bz2 : Bzip2 Compression +* xz : XZ Compression + +This is the git repository for [openSUSE:Tools/obs-service-recompress](https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-recompress). The authoritative source is https://github.com/openSUSE/obs-service-recompress + +The service can be used in combination with other services like [download_files](https://github.com/openSUSE/obs-service-download_files), [tar_scm](https://github.com/openSUSE/obs-service-tar_scm), [extract_file](https://github.com/openSUSE/obs-service-extract_file) or
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2016-03-17 16:34:45 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is "obs-service-recompress" Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2016-02-26 00:37:08.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2016-03-17 16:48:02.0 +0100 @@ -5 +5 @@ - + security fixes + + security fixes (boo#967265) Other differences: --
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2016-02-25 22:10:02 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is "obs-service-recompress" Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2015-08-01 11:35:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2016-02-26 00:37:08.0 +0100 @@ -1,0 +2,6 @@ +Wed Feb 17 13:14:50 UTC 2016 - opensuse-packag...@opensuse.org + +- Update to version 0.3.1+git20160217.7897d3f: + + security fixes + +--- Old: obs-service-recompress-0.3.1+git20150622.d908b54.tar.gz New: obs-service-recompress-0.3.1+git20160217.7897d3f.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.p6jePe/_old 2016-02-26 00:37:09.0 +0100 +++ /var/tmp/diff_new_pack.p6jePe/_new 2016-02-26 00:37:09.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -19,7 +19,7 @@ %define service recompress Name: obs-service-%{service} -Version:0.3.1+git20150622.d908b54 +Version:0.3.1+git20160217.7897d3f Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0+ ++ _servicedata ++ --- /var/tmp/diff_new_pack.p6jePe/_old 2016-02-26 00:37:09.0 +0100 +++ /var/tmp/diff_new_pack.p6jePe/_new 2016-02-26 00:37:09.0 +0100 @@ -1,4 +1,4 @@ g...@github.com:openSUSE/obs-service-recompress.git - d908b54ba0197706bf9a5e5781717f8e4ad6a62d \ No newline at end of file + 7897d3fd693fb16a4726da3cc258194c97e619de \ No newline at end of file ++ debian.dsc ++ --- /var/tmp/diff_new_pack.p6jePe/_old 2016-02-26 00:37:09.0 +0100 +++ /var/tmp/diff_new_pack.p6jePe/_new 2016-02-26 00:37:09.0 +0100 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-recompress -Version: 0.3.1+git20150622.d908b54 +Version: 0.3.1+git20160217.7897d3f Binary: obs-service-recompress Maintainer: Adrian SchroeterArchitecture: all ++ obs-service-recompress-0.3.1+git20150622.d908b54.tar.gz -> obs-service-recompress-0.3.1+git20160217.7897d3f.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1+git20150622.d908b54/Makefile new/obs-service-recompress-0.3.1+git20160217.7897d3f/Makefile --- old/obs-service-recompress-0.3.1+git20150622.d908b54/Makefile 2015-06-24 17:56:34.0 +0200 +++ new/obs-service-recompress-0.3.1+git20160217.7897d3f/Makefile 2016-02-17 14:14:50.0 +0100 @@ -9,4 +9,7 @@ install -m 0755 recompress $(DESTDIR)$(servicedir) install -m 0644 recompress.service $(DESTDIR)$(servicedir) -.PHONY: all install +test: + prove t/*.t + +.PHONY: all install test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1+git20150622.d908b54/recompress new/obs-service-recompress-0.3.1+git20160217.7897d3f/recompress --- old/obs-service-recompress-0.3.1+git20150622.d908b54/recompress 2015-06-24 17:56:34.0 +0200 +++ new/obs-service-recompress-0.3.1+git20160217.7897d3f/recompress 2016-02-17 14:14:50.0 +0100 @@ -89,7 +89,7 @@ fi # do the real work - $UNCOMPRESS "$FILE" | $COMPRESS > "$MYOUTDIR/$NEWFILE" || exit 1 + $UNCOMPRESS -- "$FILE" | $COMPRESS > "$MYOUTDIR/$NEWFILE" || exit 1 # Check if the (compressed) target file already exists in the directory where # the service is invoked and drop the newly generated one. Avoids overwriting @@ -100,22 +100,22 @@ SRC_DIR="$PWD" cd $DIFF_TMPDIR mkdir new old -$(cd new ; tar -xxf "$MYOUTDIR/$NEWFILE" 2> /dev/null || mv "$MYOUTDIR/$NEWFILE" .) -$(cd old ; tar -xxf "$SRC_DIR/$NEWFILE" 2> /dev/null || mv "$SRC_DIR/$NEWFILE" .) +$(cd new ; tar -xf "$MYOUTDIR/$NEWFILE" 2> /dev/null || mv -- "$MYOUTDIR/$NEWFILE" .) +$(cd old ; tar -xf "$SRC_DIR/$NEWFILE" 2> /dev/null || mv -- "$SRC_DIR/$NEWFILE" .) if diff -r new old > /dev/null ; then echo "Identical target file $NEWFILE already exists, skipping.." - rm
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2015-08-01 11:35:31 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2014-07-11 06:47:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2015-08-01 11:35:50.0 +0200 @@ -1,0 +2,11 @@ +Wed Jun 24 15:56:34 UTC 2015 - h...@hiberis.nl + +- Fix build for Debian 8.0 +- Use install target from Makefile +- Include git revision in version number +- Update to version 0.3.1+git20150622.d908b54: + + Tell rm not to prompt + + Change debian source format to 'native' + + Add Makefile with install target + +--- Old: obs-service-recompress-0.3.1.tar.gz New: _servicedata obs-service-recompress-0.3.1+git20150622.d908b54.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.Jjy7hd/_old 2015-08-01 11:35:51.0 +0200 +++ /var/tmp/diff_new_pack.Jjy7hd/_new 2015-08-01 11:35:51.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -19,7 +19,7 @@ %define service recompress Name: obs-service-%{service} -Version:0.3.1 +Version:0.3.1+git20150622.d908b54 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0+ @@ -49,9 +49,7 @@ %build %install -mkdir -p %{buildroot}%{_prefix}/lib/obs/service -install -m 0755 recompress %{buildroot}%{_prefix}/lib/obs/service -install -m 0644 recompress.service %{buildroot}%{_prefix}/lib/obs/service +%makeinstall %files %defattr(-,root,root) ++ _service ++ --- /var/tmp/diff_new_pack.Jjy7hd/_old 2015-08-01 11:35:51.0 +0200 +++ /var/tmp/diff_new_pack.Jjy7hd/_new 2015-08-01 11:35:51.0 +0200 @@ -4,7 +4,7 @@ param name=scmgit/param param name=exclude.git/param param name=versiongit-master/param -param name=versionformat@PARENT_TAG@/param +param name=versionformat@PARENT_TAG@+git%cd.%h/param param name=revisionmaster/param param name=changesgenerateenable/param /service ++ _servicedata ++ servicedata service name=tar_scm param name=urlg...@github.com:openSUSE/obs-service-recompress.git/param param name=changesrevisiond908b54ba0197706bf9a5e5781717f8e4ad6a62d/param/service/servicedata++ debian.dsc ++ --- /var/tmp/diff_new_pack.Jjy7hd/_old 2015-08-01 11:35:51.0 +0200 +++ /var/tmp/diff_new_pack.Jjy7hd/_new 2015-08-01 11:35:51.0 +0200 @@ -1,6 +1,6 @@ Format: 1.0 Source: obs-service-recompress -Version: 0.3.1 +Version: 0.3.1+git20150622.d908b54 Binary: obs-service-recompress Maintainer: Adrian Schroeter adr...@suse.de Architecture: all
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2014-07-11 06:46:14 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2013-11-19 10:45:54.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2014-07-11 06:47:02.0 +0200 @@ -1,0 +2,9 @@ +Wed Jul 9 15:36:43 UTC 2014 - jblu...@infradead.org + +- Update to version 0.3.1: + + debian: use install-file to simplify rules-file + + Initial debianization + + - avoid problematic quoting + + Fix typo + +--- New: debian.dsc Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.HZ4tnn/_old 2014-07-11 06:47:03.0 +0200 +++ /var/tmp/diff_new_pack.HZ4tnn/_new 2014-07-11 06:47:03.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ _service ++ --- /var/tmp/diff_new_pack.HZ4tnn/_old 2014-07-11 06:47:03.0 +0200 +++ /var/tmp/diff_new_pack.HZ4tnn/_new 2014-07-11 06:47:03.0 +0200 @@ -6,6 +6,7 @@ param name=versiongit-master/param param name=versionformat@PARENT_TAG@/param param name=revisionmaster/param +param name=changesgenerateenable/param /service service mode=disabled name=recompress ++ debian.dsc ++ Format: 1.0 Source: obs-service-recompress Version: 0.3.1 Binary: obs-service-recompress Maintainer: Adrian Schroeter adr...@suse.de Architecture: all Standards-Version: 3.7.2 Build-Depends: debhelper (= 7) ++ obs-service-recompress-0.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1/debian/changelog new/obs-service-recompress-0.3.1/debian/changelog --- old/obs-service-recompress-0.3.1/debian/changelog 1970-01-01 01:00:00.0 +0100 +++ new/obs-service-recompress-0.3.1/debian/changelog 2014-07-09 17:36:43.0 +0200 @@ -0,0 +1,5 @@ +obs-service-recompress (0.3.1) unstable; urgency=low + + * Initial release + + -- Daniel Gollub dgol...@brocade.com Sun, 18 May 2014 17:17:28 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1/debian/compat new/obs-service-recompress-0.3.1/debian/compat --- old/obs-service-recompress-0.3.1/debian/compat 1970-01-01 01:00:00.0 +0100 +++ new/obs-service-recompress-0.3.1/debian/compat 2014-07-09 17:36:43.0 +0200 @@ -0,0 +1 @@ +8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1/debian/control new/obs-service-recompress-0.3.1/debian/control --- old/obs-service-recompress-0.3.1/debian/control 1970-01-01 01:00:00.0 +0100 +++ new/obs-service-recompress-0.3.1/debian/control 2014-07-09 17:36:43.0 +0200 @@ -0,0 +1,18 @@ +Source: obs-service-recompress +Section: devel +Priority: extra +Maintainer: Daniel Gollub dgol...@brocade.com +Build-Depends: debhelper (= 8.0.0) +Standards-Version: 3.9.3 +Homepage: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-recompress + +Package: obs-service-recompress +Architecture: all +Depends: ${misc:Depends}, bzip2, gzip, xz-utils +Description: An OBS source service: Recompress files + This is a source service for openSUSE Build Service. + It supports to compress, uncompress or recompress files from or to + none : No Compression + gz : Gzip Compression + bz2 : Bzip2 Compression + xz : XZ Compression diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3.1/debian/copyright new/obs-service-recompress-0.3.1/debian/copyright --- old/obs-service-recompress-0.3.1/debian/copyright 1970-01-01 01:00:00.0 +0100 +++ new/obs-service-recompress-0.3.1/debian/copyright 2014-07-09 17:36:43.0 +0200 @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: obs-service-recompress +Source: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-recompress +
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2013-11-19 10:45:53 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2013-11-04 15:40:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2013-11-19 10:45:54.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 5 16:17:34 UTC 2013 - speili...@suse.com + +- Update to version 0.3.1: + + Fix diffing uncompressed files + +--- Old: obs-service-recompress-0.3.tar.gz New: obs-service-recompress-0.3.1.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.KhLiTX/_old 2013-11-19 10:45:55.0 +0100 +++ /var/tmp/diff_new_pack.KhLiTX/_new 2013-11-19 10:45:55.0 +0100 @@ -19,7 +19,7 @@ %define service recompress Name: obs-service-%{service} -Version:0.3 +Version:0.3.1 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0+ ++ _service ++ --- /var/tmp/diff_new_pack.KhLiTX/_old 2013-11-19 10:45:55.0 +0100 +++ /var/tmp/diff_new_pack.KhLiTX/_new 2013-11-19 10:45:55.0 +0100 @@ -6,7 +6,7 @@ param name=versiongit-master/param param name=versionformat@PARENT_TAG@/param param name=revisionmaster/param - param name=changesrevision4873976e1f935aa40bd144c221bfd1b7da558ee2/param/service + /service service mode=disabled name=recompress param name=file*.tar/param @@ -16,4 +16,4 @@ service mode=disabled name=set_version param name=basenameobs-service-recompress/param /service -/services \ No newline at end of file +/services ++ obs-service-recompress-0.3.tar.gz - obs-service-recompress-0.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.3/recompress new/obs-service-recompress-0.3.1/recompress --- old/obs-service-recompress-0.3/recompress 2013-11-04 10:12:59.0 +0100 +++ new/obs-service-recompress-0.3.1/recompress 2013-11-05 17:17:14.0 +0100 @@ -100,8 +100,8 @@ SRC_DIR=$PWD cd $DIFF_TMPDIR mkdir new old -$(cd new ; tar -xxf $MYOUTDIR/$NEWFILE) -$(cd old ; tar -xxf $SRC_DIR/$NEWFILE) +$(cd new ; tar -xxf $MYOUTDIR/$NEWFILE 2 /dev/null || mv $MYOUTDIR/$NEWFILE .) +$(cd old ; tar -xxf $SRC_DIR/$NEWFILE 2 /dev/null || mv $SRC_DIR/$NEWFILE .) if diff -r new old /dev/null ; then echo Identical target file $NEWFILE already exists, skipping.. rm -r $MYOUTDIR/$NEWFILE -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2013-11-04 15:40:02 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2013-10-30 15:47:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2013-11-04 15:40:04.0 +0100 @@ -1,0 +2,6 @@ +Mon Nov 4 09:13:15 UTC 2013 - speili...@suse.com + +- Update to version 0.3: + + Don't overwrite identical files + +--- Old: obs-service-recompress-0.2.tar.gz New: obs-service-recompress-0.3.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.914EEm/_old 2013-11-04 15:40:06.0 +0100 +++ /var/tmp/diff_new_pack.914EEm/_new 2013-11-04 15:40:06.0 +0100 @@ -19,7 +19,7 @@ %define service recompress Name: obs-service-%{service} -Version:0.2 +Version:0.3 Release:0 Summary:An OBS source service: Recompress files License:GPL-2.0+ ++ obs-service-recompress-0.2.tar.gz - obs-service-recompress-0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/obs-service-recompress-0.2/recompress new/obs-service-recompress-0.3/recompress --- old/obs-service-recompress-0.2/recompress 2013-10-29 14:50:47.0 +0100 +++ new/obs-service-recompress-0.3/recompress 2013-11-04 10:12:59.0 +0100 @@ -90,7 +90,29 @@ # do the real work $UNCOMPRESS $FILE | $COMPRESS $MYOUTDIR/$NEWFILE || exit 1 - echo Compressed $FILE to $NEWFILE + + # Check if the (compressed) target file already exists in the directory where + # the service is invoked and drop the newly generated one. Avoids overwriting + # otherwise identical files which only have different timestamps. Note that + # zdiff and co all fail to do that properly... + if [ -f $NEWFILE ] ; then +DIFF_TMPDIR=$(mktemp -d) +SRC_DIR=$PWD +cd $DIFF_TMPDIR +mkdir new old +$(cd new ; tar -xxf $MYOUTDIR/$NEWFILE) +$(cd old ; tar -xxf $SRC_DIR/$NEWFILE) +if diff -r new old /dev/null ; then + echo Identical target file $NEWFILE already exists, skipping.. + rm -r $MYOUTDIR/$NEWFILE +else + echo Compressed $FILE to $NEWFILE +fi +cd $SRC_DIR +rm -r $DIFF_TMPDIR + else +echo Compressed $FILE to $NEWFILE + fi # we can remove service files, no need to store them twice rm -f $FILE -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2013-10-30 15:47:38 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2012-03-26 15:37:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2013-10-30 15:47:39.0 +0100 @@ -1,0 +2,7 @@ +Tue Oct 29 13:53:50 UTC 2013 - speili...@suse.com + +- Move service to github.com/openSUSE/obs-service-recompress +- Add _service file to update package from there +- Drop local sources and use tarball from source services + +--- Old: recompress recompress.service New: _service obs-service-recompress-0.2.tar.gz Other differences: -- ++ obs-service-recompress.spec ++ --- /var/tmp/diff_new_pack.xvVRXD/_old 2013-10-30 15:47:40.0 +0100 +++ /var/tmp/diff_new_pack.xvVRXD/_new 2013-10-30 15:47:40.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package obs-service-recompress # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,19 @@ # +%define service recompress -Name: obs-service-recompress +Name: obs-service-%{service} +Version:0.2 +Release:0 +Summary:An OBS source service: Recompress files License:GPL-2.0+ Group: Development/Tools/Building -Summary:An OBS source service: Recompress files -Version:0.2 -Release:1 -Url: https://build.opensuse.org/package/show?package=obs-service-recompressproject=openSUSE%3ATools -Source: recompress -Source1:recompress.service -Requires: xz gzip bzip2 +Url:https://github.com/openSUSE/obs-service-%{service} +Source: %{name}-%{version}.tar.gz +Requires: bzip2 +Requires: gzip +Requires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -42,18 +44,18 @@ %prep -%setup -q -D -T 0 -n . +%setup -q %build %install -mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service -install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service -install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service +mkdir -p %{buildroot}%{_prefix}/lib/obs/service +install -m 0755 recompress %{buildroot}%{_prefix}/lib/obs/service +install -m 0644 recompress.service %{buildroot}%{_prefix}/lib/obs/service %files %defattr(-,root,root) -%dir /usr/lib/obs -/usr/lib/obs/service +%dir %{_prefix}/lib/obs +%{_prefix}/lib/obs/service %changelog ++ _service ++ services service mode=disabled name=tar_scm param name=urlg...@github.com:openSUSE/obs-service-recompress.git/param param name=scmgit/param param name=exclude.git/param param name=versiongit-master/param param name=versionformat@PARENT_TAG@/param param name=revisionmaster/param param name=changesrevision4873976e1f935aa40bd144c221bfd1b7da558ee2/param/service service mode=disabled name=recompress param name=file*.tar/param param name=compressiongz/param /service service mode=disabled name=set_version param name=basenameobs-service-recompress/param /service /services-- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2012-03-26 15:37:42 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes 2012-03-22 12:37:19.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2012-03-26 15:37:43.0 +0200 @@ -1,0 +2,5 @@ +Thu Mar 1 18:50:01 GMT 2012 - aspi...@suse.com + +- Display message on successful (re)compression. + +--- Other differences: -- ++ recompress ++ --- /var/tmp/diff_new_pack.9G6pji/_old 2012-03-26 15:37:44.0 +0200 +++ /var/tmp/diff_new_pack.9G6pji/_new 2012-03-26 15:37:44.0 +0200 @@ -90,6 +90,7 @@ # do the real work $UNCOMPRESS $FILE | $COMPRESS $MYOUTDIR/$NEWFILE || exit 1 + echo Compressed $FILE to $NEWFILE # we can remove service files, no need to store them twice rm -f $FILE -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-recompress for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-recompress for openSUSE:Factory checked in at 2012-03-22 12:37:10 Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old) and /work/SRC/openSUSE:Factory/.obs-service-recompress.new (New) Package is obs-service-recompress, Maintainer is Changes: New Changes file: --- /dev/null 2012-03-17 10:42:43.883537212 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-recompress.new/obs-service-recompress.changes 2012-03-22 12:37:19.0 +0100 @@ -0,0 +1,5 @@ +--- +Thu Feb 14 15:52:17 UTC 2012 - aspi...@suse.com + +- always remove uncompressed files +- fix rpmlint warnings New: obs-service-recompress.changes obs-service-recompress.spec recompress recompress.service Other differences: -- ++ obs-service-recompress.spec ++ # # spec file for package obs-service-recompress # # Copyright (c) 2012 SUSE LINUX Products 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: obs-service-recompress License:GPL-2.0+ Group: Development/Tools/Building Summary:An OBS source service: Recompress files Version:0.2 Release:1 Url: https://build.opensuse.org/package/show?package=obs-service-recompressproject=openSUSE%3ATools Source: recompress Source1:recompress.service Requires: xz gzip bzip2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This is a source service for openSUSE Build Service. It supports to compress, uncompress or recompress files from or to none : No Compression gz : Gzip Compression bz2 : Bzip2 Compression xz : XZ Compression %prep %setup -q -D -T 0 -n . %build %install mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service %files %defattr(-,root,root) %dir /usr/lib/obs /usr/lib/obs/service %changelog ++ recompress ++ #!/bin/bash # A simple script to checkout or update a svn or git repo as source service # # (C) 2010 by Adrian Schröter adr...@suse.de # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # See http://www.gnu.org/licenses/gpl-2.0.html for full license text. # defaults MYCOMPRESSION= FILES= while test $# -gt 0; do case $1 in *-compression) MYCOMPRESSION=$2 shift ;; *-file) FILES=$FILES ${2##*/} shift ;; *-outdir) MYOUTDIR=$2 shift ;; *) echo Unknown parameter $1. echo 'Usage: recompress --compression $COMPRESSION --file $FILE --outdir $OUT' exit 1 ;; esac shift done if [ -z $MYCOMPRESSION ]; then MYCOMPRESSION=bz2 fi if [ -z $FILES ]; then echo ERROR: no inputs files are given via --file parameter! exit 1 fi if [ -z $MYOUTDIR ]; then echo ERROR: no output directory is given via --outdir parameter! exit 1 fi for i in $FILES; do FILE=`ls -1 $i || ls -1 _service:*:$i` if [ ! -f $FILE ]; then echo Unknown file $i exit 1 fi UNCOMPRESS=cat BASENAME=$FILE if [ ${FILE%.gz} != $FILE ]; then UNCOMPRESS=gunzip -c BASENAME=${FILE%.gz} elif [ ${FILE%.tgz} != $FILE ]; then UNCOMPRESS=gunzip -c BASENAME=${FILE%.tgz}.tar elif [ ${FILE%.bz2} != $FILE ]; then UNCOMPRESS=bunzip2 -c BASENAME=${FILE%.bz2} elif [ ${FILE%.xz} != $FILE ]; then UNCOMPRESS=xz -dc BASENAME=${FILE%.xz} fi if [ $MYCOMPRESSION == gz ]; then COMPRESS=gzip -c -n --rsyncable - NEWFILE=${BASENAME#_service:}.gz elif [ $MYCOMPRESSION == bz2 ]; then COMPRESS=bzip2 -c - NEWFILE=${BASENAME#_service:}.bz2 elif [ $MYCOMPRESSION == xz ]; then COMPRESS=xz -c - NEWFILE=${BASENAME#_service:}.xz elif [ $MYCOMPRESSION == none ]; then COMPRESS=cat -