[libvirt] [PATCH python] rpm spec: remove %{extra_release} from spec

Daniel P. Berrangé posted 1 patch 5 years, 2 months ago
Failed in applying to current master (apply log)
libvirt-python.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH python] rpm spec: remove %{extra_release} from spec
Posted by Daniel P. Berrangé 5 years, 2 months ago
The %{extra_release} field was previously populated by data from the old
autobuild.sh file but is no longer used.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushed as a trivial patch

 libvirt-python.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
index 21dc713..5bcf1eb 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -34,7 +34,7 @@
 Summary: The libvirt virtualization API python2 binding
 Name: libvirt-python
 Version: @PY_VERSION@
-Release: 1%{?dist}%{?extra_release}
+Release: 1%{?dist}
 Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
 Url: http://libvirt.org
 License: LGPLv2+
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH python] rpm spec: remove %{extra_release} from spec
Posted by Eric Blake 5 years, 2 months ago
On 1/22/19 5:20 AM, Daniel P. Berrangé wrote:
> The %{extra_release} field was previously populated by data from the old
> autobuild.sh file but is no longer used.

It may still be useful to developers doing one-off builds, though.  Are
we sure we need to remove it?

> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> 
> Pushed as a trivial patch
> 
>  libvirt-python.spec.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
> index 21dc713..5bcf1eb 100644
> --- a/libvirt-python.spec.in
> +++ b/libvirt-python.spec.in
> @@ -34,7 +34,7 @@
>  Summary: The libvirt virtualization API python2 binding
>  Name: libvirt-python
>  Version: @PY_VERSION@
> -Release: 1%{?dist}%{?extra_release}
> +Release: 1%{?dist}
>  Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
>  Url: http://libvirt.org
>  License: LGPLv2+
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list