# SUSE guys use OBS to automatically handle release numbers, # when rebasing check what they are using on # http://download.opensuse.org/repositories/openSUSE:/Tools/Fedora_30/src/ # update the obsrel to match the upstream release number %global obsrel 272.1 # osc plugin support %global osc_plugin_dir %{_prefix}/lib/osc-plugins # for obs source services %global obsroot %{_prefix}/lib/obs %global obs_srcsvc_dir %{obsroot}/service # Control building as Python 2 for = 8 Recommends: obs-build Recommends: obs-service-source_validator %else Requires: obs-service-source_validator %endif # To ensure functional parity Conflicts: obs-build < 20180816 %description Commandline client for the Open Build Service. See http://en.opensuse.org/openSUSE:OSC , as well as http://en.opensuse.org/openSUSE:Build_Service_Tutorial for a general introduction. %prep %autosetup -p1 #fixup encoding iconv -f ISO8859-1 -t UTF-8 -o TODO.new TODO mv TODO.new TODO %build %py_build %install %py_install %__ln_s osc-wrapper.py %{buildroot}%{_bindir}/osc %__mkdir_p %{buildroot}%{_localstatedir}/lib/osc-plugins %__mkdir_p %{buildroot}%{_datadir}/bash-completion/completions/ install -Dm0644 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh install -Dm0644 dist/complete.sh %{buildroot}%{_datadir}/bash-completion/completions/osc install -Dm0755 dist/osc.complete %{buildroot}%{_datadir}/osc/complete mkdir -p %{buildroot}%{obs_srcsvc_dir} mkdir -p %{buildroot}%{osc_plugin_dir} mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/ # osc rpm macros cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.osc < - 0.166.2-272.1.2 - Fix patch for replacing cgi.escape with html.escape * Mon Nov 18 2019 Neal Gompa - 0.166.2-272.1.1 - Update to 0.166.2 - Add fixes for Python 3.8 compatibility * Thu Oct 03 2019 Miro Hrončok - 0.165.1-255.1.2.3 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.165.1-255.1.2.2 - Rebuilt for Python 3.8 * Thu Jul 25 2019 Fedora Release Engineering - 0.165.1-255.1.2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Neal Gompa - 0.165.1-255.1.2 - Add patch proposed upstream to fix local builds * Thu May 30 2019 Neal Gompa - 0.165.1-255.1.1 - Update to 0.165.1 - Backport fixes from upstream for Python 3 - Drop patches incorporated in this release * Sun Mar 24 2019 Neal Gompa - 0.164.2-245.1.1 - Update to 0.164.2 - Add proposed patches to build for Python 3 for Fedora 30+ - Add Recommends for obs-build * Fri Feb 01 2019 Fedora Release Engineering - 0.163.0-237.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Aug 23 2018 Neal Gompa - 0.163.0-237.1.1 - Update to 0.163.0 * Fri Jul 13 2018 Fedora Release Engineering - 0.162.1-230.1.1.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Iryna Shcherbina - 0.162.1-230.1.1.2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Feb 08 2018 Fedora Release Engineering - 0.162.1-230.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 15 2018 Neal Gompa - 0.162.1-230.1.1 - Rebase to 0.162.1 to fix CVE-2017-9274 * Sun Nov 05 2017 Neal Gompa - 0.161.1-224.1.1 - Rebase to 0.161.1 * Thu Jul 27 2017 Fedora Release Engineering - 0.157.1-202.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Mar 18 2017 Neal Gompa - 0.157.1-202.1.1 - Rebase to 0.157.1 * Sat Feb 11 2017 Fedora Release Engineering - 0.155.0-190.1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Aug 11 2016 Neal Gompa - 0.155.0-190.1.1 - Rebase to 0.155.0 * Tue Jul 26 2016 Neal Gompa - 0.154.0-187.1.1 - Rebase to 0.154.0 - Setup for working on EL7 * Tue Jul 19 2016 Fedora Release Engineering - 0.151.1-166.2.1 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.151.1-165.2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.151.1-164.2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 24 2015 Miroslav Suchý 0.151.1-163.2.1 - rebase to 0.140.1 - fixed shell command injection via crafted _service files CVE-2015-0778 * Sat Jun 07 2014 Fedora Release Engineering - 0.140.1-109.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.140.1-108.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Miroslav Suchý 0.140.1-107.1.1 - add one number to release so we can distinguish from OpenSuse v-r (msuchy@redhat.com) - rebase to 0.140.1 (msuchy@redhat.com) * Thu Feb 14 2013 Fedora Release Engineering - 0.132.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.132.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.132.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Jerome Soyer - 0.132.4-1 - Update to 0.132.4 * Thu Jun 9 2011 Jerome Soyer - 0.132.1-2 - Fix non-arch dependent shell script in /usr/lib for multilib * Wed Jun 8 2011 Jerome Soyer - 0.132.1-1 - Update to 0.132.1 - Fix tab/space in SPEC file - Add comment and command for tarball creation - Fix libdir-macro-in-noarch-package * Wed Jun 8 2011 Jerome Soyer - 0.132.0-1 - Initial build