The package rpms/ursa-major.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/ursa-major.git/commit/?id=08ab700986... https://src.fedoraproject.org/cgit/rpms/ursa-major.git/commit/?id=353853f908....
Change: +ExclusiveArch: noarch aarch64 ppc64le s390x x86_64 +ExcludeArch: ppc s390 ppc64 i686
Thanks.
Full change: ============
commit a3d1d236a2160cc4f1ed12658847d3830ff315af Merge: 341f4a7 f202367 Author: Chenxiong Qi cqi@redhat.com Date: Wed Mar 20 22:41:34 2019 +0800
Build release 0.2.1
diff --cc sources index f552a64,5a99535..ce6e182 --- a/sources +++ b/sources @@@ -1,1 -1,1 +1,1 @@@ - SHA512 (ursa-major-0.1.1.tar.gz) = 6515eab4a9b3bdf0acb055a36bb2b76f4387cef9c4aff3f75c87555d7afa2897feb4feba1d26a588db26a1321fb473a570c876991890489a91d96f579c8ba3c2 -16a520fbedfd2d51815f44cb4219fad3 ursa-major-0.2.1.tar.gz ++SHA512 (ursa-major-0.2.1.tar.gz) = 27231d31e39d035cdd0573ff45d39c3d1346c5d8e1ac3e4970b5bf147255dfe26f457e2a78414c0a5046e952a14a52a25cd696f8e0895a1ef56c86d1c085911e diff --cc ursa-major.spec index edd8857,9137dd6..ffc1ae2 --- a/ursa-major.spec +++ b/ursa-major.spec @@@ -179,12 -183,21 +185,27 @@@ py.tes
%changelog + * Wed Mar 20 2019 Chenxiong Qi cqi@redhat.com - 0.2.1-1 + - Make setup_method/teardown_method compatible with newer version of pytest (Chenxiong Qi) + - Add missing file CHANGELOG.rst to sdist package (Chenxiong Qi) + + * Wed Mar 20 2019 Chenxiong Qi cqi@redhat.com - 0.2.0-1 + - Add tests for AddModuleHandler methods (Chenxiong Qi) + - Avoid long modulemd embedded into fake data for tests (Chenxiong Qi) + - Fixes according to review comments (Chenxiong Qi) + - Command check-config supports filtering modules on buildrequires (Chenxiong Qi) + - Command add-module supports buildrequires now (Chenxiong Qi) + - Command remove-module supports filtering modules on buildrequires (Chenxiong Qi) + - Allow passing buildrequires to MBS.get_modules_with_requires (Chenxiong Qi) + - Reword remove-module help and --tag option help text (Chenxiong Qi) + - Allow filtering on buildrequires (Chenxiong Qi) + +* Mon Dec 03 2018 Qixiang Wan qwan@redhat.com - 0.1.1-4 +- build can be scheduled to i386 arch, include ix86 + +* Mon Dec 03 2018 Qixiang Wan qwan@redhat.com - 0.1.1-3 +- libmodulemd is missing from EPEL ppc64le buildroot, enable x86_64 only + * Fri Nov 16 2018 Qixiang Wan qwan@redhat.com - 0.1.1-2 - Limit build arches as libmodulemd is not available for ppc or i686
commit f202367a03a4334c9f931d37a9f2fac52a179533 Author: Chenxiong Qi cqi@redhat.com Date: Wed Mar 20 21:39:45 2019 +0800
Require libmodulemd1 in Fedora and RHEL>7
Ursa-Major uses libmodulemd version 1.0 API. That is shipped in a separate package named libmodulemd1 since 2.x, which are available in Fedora and RHEL>7.
diff --git a/ursa-major.spec b/ursa-major.spec index 0860e2e..9137dd6 100644 --- a/ursa-major.spec +++ b/ursa-major.spec @@ -20,7 +20,6 @@ ExcludeArch: ppc s390 ppc64 i686
BuildRequires: help2man -BuildRequires: libmodulemd
%if 0%{?with_python3} BuildRequires: python3-devel @@ -60,10 +59,17 @@ BuildRequires: python2-mock %endif %endif
+%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 7) +BuildRequires: libmodulemd1 +Requires: libmodulemd1 +%else +BuildRequires: libmodulemd +Requires: libmodulemd +%endif + Requires: gobject-introspection Requires: krb5-workstation Requires: koji -Requires: libmodulemd Requires: m2crypto
%if 0%{?with_python3}
commit 353853f908cee907e8c703a143820b2e1d12e4a6 Author: Chenxiong Qi cqi@redhat.com Date: Wed Mar 20 17:21:45 2019 +0800
Release 0.2.1
diff --git a/.gitignore b/.gitignore index b3ec1d3..7c33d32 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /ursa-major-0.1.1.tar.gz +/ursa-major-0.2.0.tar.gz +/ursa-major-0.2.1.tar.gz diff --git a/sources b/sources index db0228d..5a99535 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4254c1f1054b2b95a8e14dbe98342e35 ursa-major-0.1.1.tar.gz +16a520fbedfd2d51815f44cb4219fad3 ursa-major-0.2.1.tar.gz diff --git a/ursa-major.spec b/ursa-major.spec index acd3103..0860e2e 100644 --- a/ursa-major.spec +++ b/ursa-major.spec @@ -5,8 +5,8 @@ %endif
Name: ursa-major -Version: 0.1.1 -Release: 2%{?dist} +Version: 0.2.1 +Release: 1%{?dist} Summary: A utility for working with module's koji tags in koji's tag inheritance.
Group: Development/Tools @@ -16,7 +16,7 @@ Source0: https://files.pythonhosted.org/packages/source/u/%%7Bname%7D/%%7Bname%7D-%%7...
BuildArch: noarch # libmodulemd is not available for ppc or i686 -ExclusiveArch: noarch aarch64 ppc64le s390x x86_64 +ExcludeArch: ppc s390 ppc64 i686
BuildRequires: help2man @@ -142,9 +142,9 @@ export PYTHONPATH=%{buildroot}%{python2_sitelib} %endif mkdir -p %{buildroot}/%{_mandir}/man1
-help2man -N --version-string=%{version} %{buildroot}/%{_bindir}/ursa-major > %{buildroot}/%{_mandir}/man1/ursa-major.1 +help2man -N --no-discard-stderr --version-string=%{version} %{buildroot}/%{_bindir}/ursa-major > %{buildroot}/%{_mandir}/man1/ursa-major.1 for cmd in show-config check-config remove-module add-module add-tag; do - help2man -N --version-string=%{version} "%{buildroot}/%{_bindir}/ursa-major $cmd" > %{buildroot}/%{_mandir}/man1/ursa-major-${cmd}.1 + help2man -N --no-discard-stderr --version-string=%{version} "%{buildroot}/%{_bindir}/ursa-major $cmd" > %{buildroot}/%{_mandir}/man1/ursa-major-${cmd}.1 done
@@ -177,6 +177,21 @@ py.test
%changelog +* Wed Mar 20 2019 Chenxiong Qi cqi@redhat.com - 0.2.1-1 +- Make setup_method/teardown_method compatible with newer version of pytest (Chenxiong Qi) +- Add missing file CHANGELOG.rst to sdist package (Chenxiong Qi) + +* Wed Mar 20 2019 Chenxiong Qi cqi@redhat.com - 0.2.0-1 +- Add tests for AddModuleHandler methods (Chenxiong Qi) +- Avoid long modulemd embedded into fake data for tests (Chenxiong Qi) +- Fixes according to review comments (Chenxiong Qi) +- Command check-config supports filtering modules on buildrequires (Chenxiong Qi) +- Command add-module supports buildrequires now (Chenxiong Qi) +- Command remove-module supports filtering modules on buildrequires (Chenxiong Qi) +- Allow passing buildrequires to MBS.get_modules_with_requires (Chenxiong Qi) +- Reword remove-module help and --tag option help text (Chenxiong Qi) +- Allow filtering on buildrequires (Chenxiong Qi) + * Fri Nov 16 2018 Qixiang Wan qwan@redhat.com - 0.1.1-2 - Limit build arches as libmodulemd is not available for ppc or i686
commit 08ab7009862ffe097af23e6a84b89aefe8f0b048 Author: Qixiang Wan qwan@redhat.com Date: Tue Nov 20 15:38:36 2018 +0800
Limit build arches and update requires
diff --git a/ursa-major.spec b/ursa-major.spec index 7cfedb3..acd3103 100644 --- a/ursa-major.spec +++ b/ursa-major.spec @@ -6,7 +6,7 @@
Name: ursa-major Version: 0.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A utility for working with module's koji tags in koji's tag inheritance.
Group: Development/Tools @@ -14,7 +14,9 @@ License: MIT URL: https://pagure.io/ursa-major Source0: https://files.pythonhosted.org/packages/source/u/%%7Bname%7D/%%7Bname%7D-%%7...
-BuildArch: noarch +BuildArch: noarch +# libmodulemd is not available for ppc or i686 +ExclusiveArch: noarch aarch64 ppc64le s390x x86_64
BuildRequires: help2man @@ -35,7 +37,6 @@ BuildRequires: python3-mock %else BuildRequires: python2-devel BuildRequires: python2-koji -BuildRequires: python2-psutil %if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: python-setuptools BuildRequires: python-gobject-base @@ -64,7 +65,6 @@ Requires: krb5-workstation Requires: koji Requires: libmodulemd Requires: m2crypto -Requires: fedora-packager
%if 0%{?with_python3} Requires: python3-gobject-base @@ -73,10 +73,8 @@ Requires: python3-koji Requires: python3-six Requires: python3-requests Requires: python3-jinja2 -Requires: python3-psutil %else Requires: python2-koji -Requires: python2-psutil %if 0%{?rhel} && 0%{?rhel} <= 7 Requires: python-gobject-base Requires: pycairo @@ -179,5 +177,8 @@ py.test
%changelog +* Fri Nov 16 2018 Qixiang Wan qwan@redhat.com - 0.1.1-2 +- Limit build arches as libmodulemd is not available for ppc or i686 + * Fri Oct 26 2018 Qixiang Wan qwan@redhat.com - 0.1.1-1 - Initial version of spec file
commit fa0ae4490547e20f9fecad99a3adba8b75c2a665 Author: Qixiang Wan qwan@redhat.com Date: Fri Nov 9 19:20:21 2018 +0800
Initial import
diff --git a/.gitignore b/.gitignore index e69de29..b3ec1d3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ursa-major-0.1.1.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..db0228d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4254c1f1054b2b95a8e14dbe98342e35 ursa-major-0.1.1.tar.gz diff --git a/ursa-major.spec b/ursa-major.spec new file mode 100644 index 0000000..7cfedb3 --- /dev/null +++ b/ursa-major.spec @@ -0,0 +1,183 @@ +%if 0%{?fedora} +# we have some koji hubs doesn't support Python3 with kerberos auth +# at this moment, so we build with Python2 for all platforms now +%global with_python3 0 +%endif + +Name: ursa-major +Version: 0.1.1 +Release: 1%{?dist} +Summary: A utility for working with module's koji tags in koji's tag inheritance. + +Group: Development/Tools +License: MIT +URL: https://pagure.io/ursa-major +Source0: https://files.pythonhosted.org/packages/source/u/%%7Bname%7D/%%7Bname%7D-%%7... + +BuildArch: noarch + + +BuildRequires: help2man +BuildRequires: libmodulemd + +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-gobject-base +BuildRequires: python3-cairo +BuildRequires: python3-koji +BuildRequires: python3-six +BuildRequires: python3-requests +BuildRequires: python3-jinja2 +BuildRequires: python3-psutil +BuildRequires: python3-pytest +BuildRequires: python3-mock +%else +BuildRequires: python2-devel +BuildRequires: python2-koji +BuildRequires: python2-psutil +%if 0%{?rhel} && 0%{?rhel} <= 7 +BuildRequires: python-setuptools +BuildRequires: python-gobject-base +BuildRequires: pycairo +BuildRequires: python-six +BuildRequires: python-requests +BuildRequires: python-jinja2 +BuildRequires: python-futures +BuildRequires: pytest +BuildRequires: python-mock +%else +BuildRequires: python2-setuptools +BuildRequires: python2-gobject-base +BuildRequires: python2-cairo +BuildRequires: python2-six +BuildRequires: python2-requests +BuildRequires: python2-jinja2 +BuildRequires: python2-futures +BuildRequires: python2-pytest +BuildRequires: python2-mock +%endif +%endif + +Requires: gobject-introspection +Requires: krb5-workstation +Requires: koji +Requires: libmodulemd +Requires: m2crypto +Requires: fedora-packager + +%if 0%{?with_python3} +Requires: python3-gobject-base +Requires: python3-cairo +Requires: python3-koji +Requires: python3-six +Requires: python3-requests +Requires: python3-jinja2 +Requires: python3-psutil +%else +Requires: python2-koji +Requires: python2-psutil +%if 0%{?rhel} && 0%{?rhel} <= 7 +Requires: python-gobject-base +Requires: pycairo +Requires: python-six +Requires: python-requests +Requires: python-jinja2 +Requires: python-futures +%else +Requires: python2-gobject-base +Requires: python2-cairo +Requires: python2-six +Requires: python2-requests +Requires: python2-jinja2 +Requires: python2-futures +%endif +%endif + + +%description +Usra-Major can be used to edit a tag config file and update module's koji tags +in koji's tag inheritance accordingly per the configuration in tag config file. + + +%package -n ursa-major-stage +Summary: A utility for working with module's koji tags in koji's tag inheritance. +Requires: %{name} = %{version}-%{release} + +%description -n ursa-major-stage +The ursa-major-stage package contains script and configurations for Ursa-Major +to talk with Fedora's stage instances (Koji, MBS). + + +%prep +%setup -q + +%if 0%{?rhel} && 0%{?rhel} <= 7 +# workaround for no egg-info +sed -i '/pycairo/d' requirements.txt +# old setuptools not support environment marker +sed -i 's/futures.*/futures/' requirements.txt +%endif + +# workaround for no egg-info +sed -i '/koji/d' requirements.txt + +%build +%if 0%{?with_python3} +%py3_build +%else +%py2_build +%endif + + +%install +%if 0%{?with_python3} +%py3_install +%else +%py2_install +%endif + +%if 0%{?with_python3} +export PYTHONPATH=%{buildroot}%{python3_sitelib} +%else +export PYTHONPATH=%{buildroot}%{python2_sitelib} +%endif +mkdir -p %{buildroot}/%{_mandir}/man1 + +help2man -N --version-string=%{version} %{buildroot}/%{_bindir}/ursa-major > %{buildroot}/%{_mandir}/man1/ursa-major.1 +for cmd in show-config check-config remove-module add-module add-tag; do + help2man -N --version-string=%{version} "%{buildroot}/%{_bindir}/ursa-major $cmd" > %{buildroot}/%{_mandir}/man1/ursa-major-${cmd}.1 +done + + +%check +%if 0%{?with_python3} +py.test-3 +%else +py.test +%endif + + +%files +%doc README.rst +%license LICENSE + +%if 0%{?with_python3} +%{python3_sitelib}/ursa_major* +%else +%{python2_sitelib}/ursa_major* +%endif + +%{_bindir}/ursa-major +%dir %{_sysconfdir}/ursa-major +%config(noreplace) %{_sysconfdir}/ursa-major/ursa-major.conf +%doc %{_mandir}/man1/ursa-major*.1* + +%files stage +%{_bindir}/ursa-major-stage +%config(noreplace) %{_sysconfdir}/ursa-major/ursa-major-stage.conf + + +%changelog +* Fri Oct 26 2018 Qixiang Wan qwan@redhat.com - 0.1.1-1 +- Initial version of spec file
commit af97ad145cff5956cb312caf7ebba19ea895a526 Author: Release Configuration Management release-engineering@redhat.com Date: Fri Nov 9 08:10:04 2018 +0000
Repo creation
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29
arch-excludes@lists.fedoraproject.org