Make drpm builds conditional
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
448300b9e8
commit
6ade1e9ac0
@ -11,14 +11,16 @@
|
|||||||
|
|
||||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
%bcond_with python3
|
%bcond_with python3
|
||||||
|
%bcond_with drpm
|
||||||
%else
|
%else
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
|
%bcond_without drpm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Creates a common metadata repository
|
Summary: Creates a common metadata repository
|
||||||
Name: createrepo_c
|
Name: createrepo_c
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rpm-software-management/createrepo_c
|
URL: https://github.com/rpm-software-management/createrepo_c
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -44,7 +46,7 @@ Requires: rpm >= 4.8.0-28
|
|||||||
BuildRequires: bash-completion
|
BuildRequires: bash-completion
|
||||||
Requires: rpm >= 4.9.0
|
Requires: rpm >= 4.9.0
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora}
|
%if %{with drpm}
|
||||||
BuildRequires: drpm-devel >= 0.1.3
|
BuildRequires: drpm-devel >= 0.1.3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -184,6 +186,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-5
|
||||||
|
- Make drpm builds conditional
|
||||||
|
|
||||||
* Sun Apr 10 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-4
|
* Sun Apr 10 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-4
|
||||||
- Don't own python3_sitearch dir in python3 subpkg
|
- Don't own python3_sitearch dir in python3 subpkg
|
||||||
- Use %%license macro
|
- Use %%license macro
|
||||||
|
Loading…
Reference in New Issue
Block a user