From 53344cf6a71a8c3f63d051a889a8bafe6e267998 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Jul 25 2019 11:23:06 +0000 Subject: packages, mention how to create Source0 tarball We should provide proper tito releasers first, so we can calmly cite the tarballs we publish on pypi or pagure. Till then, we have to live with this. Related: rhbz#1730699 --- diff --git a/backend/copr-backend.spec b/backend/copr-backend.spec index a5e16f0..cb9dae5 100644 --- a/backend/copr-backend.spec +++ b/backend/copr-backend.spec @@ -9,7 +9,11 @@ Summary: Backend for Copr License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: https://releases.pagure.org/copr/copr/%name-%version.tar.gz + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch BuildRequires: asciidoc diff --git a/cli/copr-cli.spec b/cli/copr-cli.spec index b07f7ee..2dd3e0d 100644 --- a/cli/copr-cli.spec +++ b/cli/copr-cli.spec @@ -13,7 +13,11 @@ Summary: Command line interface for COPR License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: %pypi_source + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch diff --git a/common/python-copr-common.spec b/common/python-copr-common.spec index 922c0c3..8b54582 100644 --- a/common/python-copr-common.spec +++ b/common/python-copr-common.spec @@ -20,7 +20,11 @@ Summary: Python code used by Copr License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: %pypi_source + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch diff --git a/dist-git/copr-dist-git.spec b/dist-git/copr-dist-git.spec index e46bf6e..24cfe5c 100644 --- a/dist-git/copr-dist-git.spec +++ b/dist-git/copr-dist-git.spec @@ -5,7 +5,11 @@ Summary: Copr services for Dist Git server License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: https://releases.pagure.org/copr/copr/%name-%version.tar.gz + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch diff --git a/frontend/copr-frontend.spec b/frontend/copr-frontend.spec index aef7b4e..6a0fa5a 100644 --- a/frontend/copr-frontend.spec +++ b/frontend/copr-frontend.spec @@ -47,7 +47,11 @@ Summary: Frontend for Copr License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: https://releases.pagure.org/copr/copr/%name-%version.tar.gz + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch diff --git a/keygen/copr-keygen.spec b/keygen/copr-keygen.spec index 5fe4ad0..83c9f4c 100644 --- a/keygen/copr-keygen.spec +++ b/keygen/copr-keygen.spec @@ -7,7 +7,11 @@ Summary: Part of Copr build system. Aux service that generate keys for signd License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: https://releases.pagure.org/copr/copr/%name-%version.tar.gz + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch BuildRequires: util-linux diff --git a/messaging/copr-messaging.spec b/messaging/copr-messaging.spec index 810eac3..2b7959d 100644 --- a/messaging/copr-messaging.spec +++ b/messaging/copr-messaging.spec @@ -14,7 +14,10 @@ Summary: Abstraction for Copr messaging listeners/publishers License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: %pypi_source +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch diff --git a/python/python-copr.spec b/python/python-copr.spec index 6c45a7c..9eb73ab 100644 --- a/python/python-copr.spec +++ b/python/python-copr.spec @@ -21,7 +21,11 @@ Summary: Python interface for Copr License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: %pypi_source + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch diff --git a/rpmbuild/copr-rpmbuild.spec b/rpmbuild/copr-rpmbuild.spec index 022400a..05068ce 100644 --- a/rpmbuild/copr-rpmbuild.spec +++ b/rpmbuild/copr-rpmbuild.spec @@ -24,7 +24,10 @@ Release: 1%{?dist} URL: https://pagure.io/copr/copr License: GPLv2+ -Source0: https://releases.pagure.org/copr/copr/%name-%version.tar.gz +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildRequires: %{python}-devel BuildRequires: %{python}-distro diff --git a/selinux/copr-selinux.spec b/selinux/copr-selinux.spec index ece9e8e..303fb41 100644 --- a/selinux/copr-selinux.spec +++ b/selinux/copr-selinux.spec @@ -16,7 +16,11 @@ Summary: SELinux module for COPR License: GPLv2+ URL: https://pagure.io/copr/copr -Source0: https://releases.pagure.org/copr/copr/%name-%version.tar.gz + +# Source is created by: +# git clone %url && cd copr +# tito build --tgz --tag %name-%version-%release +Source0: %name-%version.tar.gz BuildArch: noarch BuildRequires: asciidoc