Hello community, here is the log from the commit of package cvs2svn for openSUSE:Factory checked in at 2019-12-09 21:37:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvs2svn (Old) and /work/SRC/openSUSE:Factory/.cvs2svn.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvs2svn" Mon Dec 9 21:37:04 2019 rev:21 rq:755265 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cvs2svn/cvs2svn.changes 2015-03-16 09:42:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cvs2svn.new.4691/cvs2svn.changes 2019-12-09 21:37:18.998048691 +0100 @@ -1,0 +2,5 @@ +Mon Dec 9 15:02:07 UTC 2019 - Martin Pluskal <mplus...@suse.com> + +- Clean up spec file and modernise it + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvs2svn.spec ++++++ --- /var/tmp/diff_new_pack.xMPrtQ/_old 2019-12-09 21:37:21.178047833 +0100 +++ /var/tmp/diff_new_pack.xMPrtQ/_new 2019-12-09 21:37:21.178047833 +0100 @@ -1,7 +1,7 @@ # # spec file for package cvs2svn # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,42 +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/ # -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%{!?py_ver: %global pyver %(python -c 'import sys; print sys.version[:3]')} Name: cvs2svn Version: 2.4.0 Release: 0 -# Summary: Converts CVS repositories to Subversion repositories License: Apache-2.0 Group: Development/Tools/Version Control -Url: http://cvs2svn.tigris.org/ +URL: http://cvs2svn.tigris.org/ Source0: http://cvs2svn.tigris.org/files/documents/1462/49237/%{name}-%{version}.tar.gz Source1: http://cvs2svn.tigris.org/files/documents/1462/49238/%{name}-%{version}.tar.gz.asc # http://www-heller.harvard.edu/people/mhagger/pgp.html Source2: cvs2svn.keyring Source99: cvs2svn-rpmlintrc Patch0: cvs2svn.install-prefix.patch +BuildRequires: fdupes BuildRequires: python-devel >= 2.4 -Requires: python < %{py_ver}.99 -Requires: python >= %{py_ver} Requires: rcs Requires: subversion -# -PreReq: %insserv_prereq %fillup_prereq -Provides: subversion-cvs2svn = %{version} -Obsoletes: subversion-cvs2svn < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%py_requires -%if 0%{?suse_version} >= 1120 BuildArch: noarch -%endif -# %description Converts CVS repositories to Subversion repositories. @@ -55,24 +41,22 @@ See %{_docdir}/cvs2svn directory for more information. %prep -%setup -q -# -%patch0 -# replace shebang for python with %__python -perl -ni -e 'if (1..1 && m/^#!(.+python)(\s+.+)?$/) {print "#!%__python".$2."\n";} else {print}' cvs2{svn,bzr,git} +%autosetup %build +%python2_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%python2_install +%fdupes %{buildroot}%{python_sitelib} %files -%defattr(-,root,root) -%doc {BUGS,COMMITTERS,COPYING,README,www/{faq,features,cvs2*}.html} +%license COPYING +%doc {BUGS,COMMITTERS,README,www/{faq,features,cvs2*}.html} %doc *-example.options -%attr(755,root,root) %{_bindir}/cvs2svn -%attr(755,root,root) %{_bindir}/cvs2bzr -%attr(755,root,root) %{_bindir}/cvs2git +%{_bindir}/cvs2svn +%{_bindir}/cvs2bzr +%{_bindir}/cvs2git %dir %{python_sitelib}/cvs2svn_rcsparse %{python_sitelib}/cvs2svn*