]> git.pld-linux.org Git - packages/anaconda.git/blobdiff - anaconda.spec
- more ppc checks
[packages/anaconda.git] / anaconda.spec
index f43e2de3403eacb34bf9dbe8698b33f689ae0b26..88a9aa909c7dffd55bbddc34db917a401e58cfa2 100644 (file)
@@ -8,13 +8,15 @@ Summary:      Graphical system installer
 Summary(pl.UTF-8):     Graficzny instalator systemu
 Name:          anaconda
 Version:       11.4.1.%{rel}
-Release:       1
+Release:       4
 License:       GPL
 Group:         Applications/System
 # http://team.pld-linux.org/~patrys/anaconda.git - origin/pld-branch
 Source0:       %{name}-%{rel}.tar.bz2
 # Source0-md5: 1a3e6c15b9080fef45b53c2a471383ce
 URL:           http://fedoraproject.org/wiki/Anaconda
+# will kill it in the future
+BuildRequires: curl
 BuildRequires: device-mapper-static >= 1.01.05
 BuildRequires: e2fsprogs-devel
 BuildRequires: gettext-devel >= 0.11
@@ -149,13 +151,6 @@ Kod źródłowy Anacondy do celów diagnostycznych.
 %setup -q -n %{name}-%{rel}
 
 %build
-# locale check
-if [ "$(locale -a | grep -c en_US.utf8)" = 0 ]; then
-       : "en_US.utf8 locale not available. build will fail!"
-       : "Install glibc-localedb-all or compile it!"
-       exit 1
-fi
-
 %{__make} depend -j1 \
        PYTHON="%{__python}" \
        PYTHONINCLUDE="%{py_incdir}" \
@@ -204,9 +199,11 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/liveinst
 %attr(755,root,root) %{_bindir}/liveinst
 %attr(755,root,root) %{_sbindir}/anaconda
-%attr(755,root,root) %{_sbindir}/gptsync
 %attr(755,root,root) %{_sbindir}/liveinst
+%ifnarch ppc
+%attr(755,root,root) %{_sbindir}/gptsync
 %attr(755,root,root) %{_sbindir}/showpart
+%endif
 %dir %{_libdir}/anaconda
 %{_libdir}/anaconda/*.py[co]
 %dir %{_libdir}/anaconda/installclasses
@@ -240,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/anaconda/*-stub
 %dir %{_libdir}/anaconda-runtime
 %dir %{_libdir}/anaconda-runtime/boot
+%ifnarch ppc
 %{_libdir}/anaconda-runtime/boot/boot.msg
 %{_libdir}/anaconda-runtime/boot/general.msg
 %{_libdir}/anaconda-runtime/boot/grub.conf
@@ -247,6 +245,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/anaconda-runtime/boot/param.msg
 %{_libdir}/anaconda-runtime/boot/rescue.msg
 %{_libdir}/anaconda-runtime/boot/syslinux.cfg
+%endif
 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall
 %attr(755,root,root) %{_libdir}/anaconda-runtime/buildinstall.functions
 %attr(755,root,root) %{_libdir}/anaconda-runtime/genmodinfo
This page took 0.040938 seconds and 4 git commands to generate.