]> git.pld-linux.org Git - packages/e2fsprogs.git/commitdiff
- call make once when possible auto/ac/e2fsprogs-1_39-2
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 26 Aug 2006 21:24:26 +0000 (21:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- mkinstalldirs hack\b\b\b\bfix
- check-files cleanup

Changed files:
    e2fsprogs.spec -> 1.151

e2fsprogs.spec

index b2b97136bebb1684bac8a14e8edfa7cdaa585cec..a2a342971d962e98ae696aeb4f70e7d24a25f7f1 100644 (file)
@@ -41,16 +41,16 @@ Source2:    http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-ma
 Patch0:                %{name}-info.patch
 Patch1:                e2compr-info.patch
 URL:           http://e2fsprogs.sourceforge.net/
-BuildRequires: automake
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: device-mapper-devel
 BuildRequires: gettext-devel >= 0.11
 BuildRequires: texinfo
 %if %{with static}
 BuildRequires: device-mapper-static
 BuildRequires: glibc-static
-BuildRequires: libsepol-static
 BuildRequires: libselinux-static
+BuildRequires: libsepol-static
 %endif
 Requires(post,postun): /sbin/ldconfig
 Requires:      fsck = %{version}-%{release}
@@ -551,11 +551,7 @@ cp -f /usr/share/automake/config.sub .
        --enable-fsck \
        --disable-rpath
 
-%{__make} libs \
-       LDFLAGS="%{rpmldflags}"
-%{__make} progs \
-       LDFLAGS="%{rpmldflags}"
-%{__make} docs \
+%{__make} libs progs docs \
        LDFLAGS="%{rpmldflags}"
 
 cd doc
@@ -567,14 +563,9 @@ export PATH=/sbin:$PATH
 
 echo "install-shlibs:" >> intl/Makefile
 
-%{__make} install \
-       root_libdir=/%{_lib} \
-       DESTDIR=$RPM_BUILD_ROOT
-%{__make} install-libs \
-       root_libdir=/%{_lib} \
-       DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C po install        \
+%{__make} install install-libs \
        root_libdir=/%{_lib} \
+       mkinstalldirs='install -d' \
        DESTDIR=$RPM_BUILD_ROOT
 
 ln -sf e2fsck $RPM_BUILD_ROOT/sbin/fsck.ext2
@@ -606,6 +597,8 @@ echo '.so mke2fs.8' > $RPM_BUILD_ROOT%{_mandir}/pl/man8/mkfs.ext3.8
 %find_lang %{name}
 %endif
 
+rm -f $RPM_BUILD_ROOT%{_mandir}/README.e2fsprogs-non-english-man-pages
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.085602 seconds and 4 git commands to generate.