]> git.pld-linux.org Git - packages/poldek.git/blobdiff - poldek.spec
- do not duplicate noarch repo into multiarch definitions
[packages/poldek.git] / poldek.spec
index 38c456abf90acda82801d54e78fb5b422c36cd3b..ddbe9c3b34805907329d39c79ff2270fa04fb651 100644 (file)
@@ -30,7 +30,7 @@
 %define                ver_rpm         5.4.10
 %endif
 
-%define                rel     5
+%define                rel     7
 Summary:       RPM packages management helper tool
 Summary(hu.UTF-8):     RPM csomagkezelést segítő eszköz
 Summary(pl.UTF-8):     Pomocnicze narzędzie do zarządzania pakietami RPM
@@ -356,6 +356,17 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}/repos.d,/var/cache/%{name}}
 %{__sed} -i '/@@SNAP@@.*/d' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld.conf
 %endif
 
+# create "all" meta repo
+%if 0%{?ftp_alt_arch:1}%{?ftp_alt2_arch:1}
+cat <<'EOF' >  $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-all.conf
+# group source for referring th+th-multiarch sources together, i.e poldek -n th-all
+[source]
+type    = group
+name    = th-all
+sources = th %{?ftp_alt_arch:th-%{ftp_alt_arch}} %{?ftp_alt2_arch:th-%{ftp_alt2_arch}}
+EOF
+%endif
+
 # th-2014 snap does not exist for x32 yet
 %if "%{ftp_arch}" == "x32"
 rm $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/repos.d/pld-%{SNAP}.conf
This page took 0.038528 seconds and 4 git commands to generate.