Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleš Matěj <amatej@redhat.com>2019-05-06 15:56:44 +0300
committerpkratoch <pkratoch@redhat.com>2019-05-06 17:18:09 +0300
commitb6f74272654bbd03448d590bc7dcb2788e331701 (patch)
tree9fe64aefdbdb0615ac3da455cc77de45cfa66d97 /createrepo_c.spec
parent8e69203604386ab3a18ef8184f7317c7ab416d34 (diff)
Make ownership of createrepo, mergerepo, modifyrepo symlinks conditional
Since the creation of these symlinks is conditional, make their ownership conditional as well.
Diffstat (limited to 'createrepo_c.spec')
-rw-r--r--createrepo_c.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/createrepo_c.spec b/createrepo_c.spec
index f489ec3..328cb68 100644
--- a/createrepo_c.spec
+++ b/createrepo_c.spec
@@ -223,10 +223,13 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
%{_bindir}/createrepo_c
%{_bindir}/mergerepo_c
%{_bindir}/modifyrepo_c
+%{_bindir}/sqliterepo_c
+
+%if 0%{?fedora} > 30 || 0%{?rhel} > 7
%{_bindir}/createrepo
%{_bindir}/mergerepo
%{_bindir}/modifyrepo
-%{_bindir}/sqliterepo_c
+%endif
%files libs
%license COPYING