%define service tar_scm Name: obs-service-%{service} Version: 0.10.41 Release: 4%{?dist} Summary: An OBS source service: checkout or update a tarball from svn/git/hg License: GPL-2.0-or-later URL: https://github.com/openSUSE/%{name} Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: glibc-langpack-en BuildRequires: python3-six BuildRequires: bzr BuildRequires: git-core BuildRequires: gnupg2 BuildRequires: mercurial BuildRequires: subversion BuildRequires: python3-PyYAML BuildRequires: python3-dateutil BuildRequires: python3-lxml BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: obs-service-obs_scm-common = %{version}-%{release} BuildArch: noarch %description This is a source service for openSUSE Build Service. It supports downloading from svn, git, hg and bzr repositories. %package -n obs-service-obs_scm-common Summary: Common parts of SCM handling services Requires: (glibc-langpack-en or glibc-all-langpacks) Requires: python3-PyYAML Requires: python3-dateutil Requires: git-core Requires: gnupg2 Requires: obs-service-download_files # Ensure that the interpreter is installed Requires: /usr/bin/python3 Recommends: bzr Recommends: mercurial Recommends: subversion %description -n obs-service-obs_scm-common This is a source service for openSUSE Build Service. It supports downloading from svn, git, hg and bzr repositories. This package holds the shared files for different services. %package -n obs-service-tar Summary: Creates a tar archive from local directory Requires: obs-service-obs_scm-common = %{version}-%{release} %description -n obs-service-tar Creates a tar archive from local directory %package -n obs-service-obs_scm Summary: Creates a OBS cpio from a remote SCM resource Requires: obs-service-obs_scm-common = %{version}-%{release} %description -n obs-service-obs_scm Creates a OBS cpio from a remote SCM resource. This can be used to work directly in local git checkout and can be packaged into a tar ball during build time. %package -n obs-service-appimage Summary: Handles source downloads defined in appimage.yml files Requires: obs-service-obs_scm-common = %{version}-%{release} %description -n obs-service-appimage Experimental appimage support: This parses appimage.yml files for SCM resources and packages them. %package -n obs-service-snapcraft Summary: Handles source downloads defined in snapcraft.yaml files Requires: obs-service-obs_scm-common = %{version}-%{release} %description -n obs-service-snapcraft Experimental snapcraft support: This parses snapcraft.yaml files for SCM resources and packages them. %prep %autosetup -p1 %build # Nothing to build %install %make_install PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}" PYTHON="%{__python3}" %py_byte_compile %{__python3} %{buildroot}%{_prefix}/lib/obs/service/TarSCM %check # No need to run PEP8 tests here; that would require a potentially # brittle BuildRequires: python3-pep8, and any style issues are already # caught by Travis CI. make test3 %files %{_prefix}/lib/obs/service/tar_scm.service %files -n obs-service-obs_scm-common %license COPYING %doc README.md %dir %{_prefix}/lib/obs %dir %{_prefix}/lib/obs/service %{_prefix}/lib/obs/service/TarSCM %{_prefix}/lib/obs/service/tar_scm %dir %{_sysconfdir}/obs %dir %{_sysconfdir}/obs/services %config(noreplace) %{_sysconfdir}/obs/services/* %files -n obs-service-tar %{_prefix}/lib/obs/service/tar %{_prefix}/lib/obs/service/tar.service %files -n obs-service-obs_scm %{_prefix}/lib/obs/service/obs_scm %{_prefix}/lib/obs/service/obs_scm.service %files -n obs-service-appimage %{_prefix}/lib/obs/service/appimage* %files -n obs-service-snapcraft %{_prefix}/lib/obs/service/snapcraft* %changelog * Thu Jul 18 2024 Fedora Release Engineering - 0.10.41-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.10.41-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.10.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Sep 1 2023 Dan Čermák - 0.10.41-1 - New upstream release 0.10.41 - add missing gnupg dependency - fixes rhbz#2171621 - fixes rhbz#2226038 * Thu Jul 20 2023 Fedora Release Engineering - 0.10.33-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.10.33-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Sep 29 2022 Neal Gompa - 0.10.33-1 - Rebase to 0.10.33 * Fri Jul 22 2022 Fedora Release Engineering - 0.10.10-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.10.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.10.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.10.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.10.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.10.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 09 2020 Zbigniew Jędrzejewski-Szmek - 0.10.10-3 - Remove dependency on unittest2 (#1789200) * Tue Dec 31 2019 Neal Gompa - 0.10.10-2 - Rebuild to deal with random Koji+Bodhi breakage * Fri Dec 27 2019 Neal Gompa - 0.10.10-1 - Initial packaging