summaryrefslogtreecommitdiffstats
path: root/repos/autotools
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2018-10-12 11:42:48 +0200
committerPavel Raiskup <praiskup@redhat.com>2018-10-12 11:42:48 +0200
commit6ff8c9aa31faf9b10af156e5827f6dc76cf01712 (patch)
treeac747b4d617d8ca7006b2ed0a476130505da4100 /repos/autotools
parent827636bab05cad7dc5890ffee8076ed021bce3a5 (diff)
downloadscl-autotools-6ff8c9aa31faf9b10af156e5827f6dc76cf01712.tar.gz
scl-autotools-6ff8c9aa31faf9b10af156e5827f6dc76cf01712.tar.xz
scl-autotools-6ff8c9aa31faf9b10af156e5827f6dc76cf01712.zip
autotools-latest: package /usr/share/aclocal only on el6
It is packaged automatically elsewhere..
Diffstat (limited to 'repos/autotools')
-rw-r--r--repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec b/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec
index cdadc68..afb39ed 100644
--- a/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec
+++ b/repos/autotools/autotools-latest/autotools-latest/autotools-latest.spec
@@ -68,7 +68,9 @@ install -c -p -m 0644 enable %{buildroot}%{_scl_scripts}/enable
cat %{buildroot}/%{_root_sysconfdir}/rpm/macros.%{scl}-config
rm -rf %{buildroot}/%{_root_sysconfdir}/rpm/macros.%{scl}-config
-mkdir %_datadir/aclocal
+%if 0%{?rhel} <= 6
+mkdir -p %buildroot%_datadir/aclocal
+%endif
%files
@@ -83,7 +85,9 @@ mkdir %_datadir/aclocal
# Temporary fix for some bug in scl-utils-build-20130529-1.el7.x86_64
/opt/rh/autotools-latest/root/lib64
%endif
+%if 0%{?rhel} <= 6
%_datadir/aclocal
+%endif
%changelog