Cleanup spec file conditionals
This commit is contained in:
parent
e934733bec
commit
f540a162e8
@ -2,17 +2,14 @@
|
||||
%define with_python3 1
|
||||
%define with_gtk_doc 1
|
||||
|
||||
%define is_rhel 0%{?rhel} != 0
|
||||
|
||||
# python3 is not available on RHEL
|
||||
%if %{is_rhel}
|
||||
%if ! 0%{?fedora} && 0%{?rhel} <= 7
|
||||
%define with_python3 0
|
||||
%define configure_opts --without-python3
|
||||
%endif
|
||||
|
||||
Name: libbytesize
|
||||
Version: 1.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A library for working with sizes in bytes
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/storaged-project/libbytesize
|
||||
@ -110,6 +107,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Sep 28 2017 Troy Dawson <tdawson@redhat.com> - 1.1-2
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
* Thu Sep 21 2017 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-1
|
||||
- Add NEWS.rst file (vtrefny)
|
||||
- Fix source and url in spec file (vtrefny)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user