Hello community, here is the log from the commit of package asciinema for openSUSE:Factory checked in at 2019-04-18 09:57:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/asciinema (Old) and /work/SRC/openSUSE:Factory/.asciinema.new.17052 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "asciinema" Thu Apr 18 09:57:10 2019 rev:7 rq:695321 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes 2019-01-15 09:17:43.294160272 +0100 +++ /work/SRC/openSUSE:Factory/.asciinema.new.17052/asciinema.changes 2019-04-18 09:57:10.933369892 +0200 @@ -1,0 +2,6 @@ +Wed Apr 17 09:59:05 UTC 2019 - Martin Pluskal <mplus...@suse.com> + +- Modernise spec file +- Reduce space usage by fdupes + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ asciinema.spec ++++++ --- /var/tmp/diff_new_pack.HGcYaT/_old 2019-04-18 09:57:11.473370232 +0200 +++ /var/tmp/diff_new_pack.HGcYaT/_new 2019-04-18 09:57:11.477370235 +0200 @@ -1,7 +1,7 @@ # # spec file for package asciinema # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,7 +12,7 @@ # 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/ # @@ -20,13 +20,13 @@ Version: 2.0.2 Release: 0 Summary: Terminal session recorder -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Networking/Other -Url: https://asciinema.org +URL: https://asciinema.org Source: https://github.com/asciinema/asciinema/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: python3-devel +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -36,18 +36,19 @@ %setup -q %build -python3 setup.py build +%python3_build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python3_install +%fdupes %{buildroot}%{python3_sitelib} -install -Dm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1 +install -Dpm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1 rm -R %{buildroot}%{_datadir}/doc/%{name} %files -%defattr(-,root,root,-) -%doc CHANGELOG.md CODE_OF_CONDUCT.md LICENSE CONTRIBUTING.md README.md +%license LICENSE +%doc CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %{_bindir}/%{name} %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}-%{version}*