Accepting request 1003772 from home:dimstar:Factory
Split out fuse2fs into sep build process OBS-URL: https://build.opensuse.org/request/show/1003772 OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=150
This commit is contained in:
parent
e5c7450ca4
commit
dbaaebb932
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>fuse2fs</package>
|
||||||
|
</multibuild>
|
||||||
|
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 15 10:23:25 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Refresh e2fsprogs.keyring based on currently provided keys.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 14 14:47:43 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Spec file cleanup:
|
||||||
|
+ Drop remainders regarding -mini packages, which was not a thing
|
||||||
|
since Jan 2014.
|
||||||
|
+ Split build of fuse2fs out into a sep build (_multibuild
|
||||||
|
enabled).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 13 13:47:21 UTC 2022 - Christian Goll <cgoll@suse.com>
|
Tue Sep 13 13:47:21 UTC 2022 - Christian Goll <cgoll@suse.com>
|
||||||
|
|
||||||
@ -6,14 +20,14 @@ Tue Sep 13 13:47:21 UTC 2022 - Christian Goll <cgoll@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 19 20:51:15 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Tue Apr 19 20:51:15 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- avoid empty preuninstall script
|
- avoid empty preuninstall script
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 28 15:40:35 UTC 2022 - Jan Kara <jack@suse.cz>
|
Fri Jan 28 15:40:35 UTC 2022 - Jan Kara <jack@suse.cz>
|
||||||
|
|
||||||
- Update to 1.46.5:
|
- Update to 1.46.5:
|
||||||
* better handling for resizing to fs sizes which would exceed inode limits
|
* better handling for resizing to fs sizes which would exceed inode limits
|
||||||
* fix crash in e2fsck fastcommit handling
|
* fix crash in e2fsck fastcommit handling
|
||||||
* fix possibly lost quota limits when e2fsck corrects quota files
|
* fix possibly lost quota limits when e2fsck corrects quota files
|
||||||
* fix tune2fs to properly transfer quota limits when convertion quota files
|
* fix tune2fs to properly transfer quota limits when convertion quota files
|
||||||
* add support for handling of version 0 quota files in tune2fs
|
* add support for handling of version 0 quota files in tune2fs
|
||||||
|
11605
e2fsprogs.keyring
11605
e2fsprogs.keyring
File diff suppressed because it is too large
Load Diff
235
e2fsprogs.spec
235
e2fsprogs.spec
@ -16,73 +16,31 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define build_mini 0
|
%define flavor @BUILD_FLAVOR@%nil
|
||||||
|
|
||||||
|
%if "%{flavor}" == ""
|
||||||
Name: e2fsprogs
|
Name: e2fsprogs
|
||||||
|
Summary: Utilities for the Second Extended File System
|
||||||
|
License: GPL-2.0-only
|
||||||
%if 0%{?suse_version} >= 1010
|
%if 0%{?suse_version} >= 1010
|
||||||
# Hint for ZYPP
|
# Hint for ZYPP
|
||||||
Supplements: filesystem(ext2) filesystem(ext3) filesystem(ext4)
|
Supplements: filesystem(ext2) filesystem(ext3) filesystem(ext4)
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1210
|
|
||||||
%bcond_without systemd
|
|
||||||
%else
|
%else
|
||||||
%bcond_with systemd
|
Name: fuse2fs
|
||||||
%endif
|
Summary: FUSE file system client for ext2/ext3/ext4 file systems
|
||||||
|
License: MIT
|
||||||
BuildRequires: fuse-devel
|
BuildRequires: fuse-devel
|
||||||
BuildRequires: libblkid-devel
|
|
||||||
BuildRequires: libuuid-devel
|
|
||||||
BuildRequires: pkg-config
|
|
||||||
BuildRequires: xz
|
|
||||||
%if ! %{build_mini}
|
|
||||||
%if 0%{?suse_version} > 1220
|
|
||||||
BuildRequires: makeinfo
|
|
||||||
%endif
|
%endif
|
||||||
# Define info macros if missing (for Fedora builds)
|
|
||||||
%if ! 0%{?suse_version}
|
|
||||||
%define install_info_prereq info
|
|
||||||
%define install_info sbin/install-info
|
|
||||||
%define install_info_delete sbin/install-info --delete
|
|
||||||
Requires(post): %install_info_prereq
|
|
||||||
Requires(preun):%install_info_prereq
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: e2fsprogs-64bit
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
Conflicts: e2fsprogs
|
|
||||||
Conflicts: e2fsprogs-devel
|
|
||||||
Conflicts: libcom_err-devel
|
|
||||||
Conflicts: libcom_err2
|
|
||||||
Conflicts: libext2fs-devel
|
|
||||||
Conflicts: libext2fs2
|
|
||||||
%else
|
|
||||||
Conflicts: e2fsprogs-mini
|
|
||||||
Conflicts: e2fsprogs-mini-devel
|
|
||||||
Conflicts: libcom_err-mini-devel
|
|
||||||
Conflicts: libcom_err2-mini
|
|
||||||
Conflicts: libext2fs-mini-devel
|
|
||||||
Conflicts: libext2fs2-mini
|
|
||||||
%endif
|
|
||||||
#
|
|
||||||
Version: 1.46.5
|
Version: 1.46.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utilities for the Second Extended File System
|
|
||||||
License: GPL-2.0-only
|
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
URL: http://e2fsprogs.sourceforge.net
|
URL: http://e2fsprogs.sourceforge.net
|
||||||
# For regenerate_initrd_post macro
|
|
||||||
Requires(post): /usr/bin/mkdir /usr/bin/touch
|
|
||||||
Requires: libcom_err2 >= %{version}
|
|
||||||
Requires: libext2fs2 >= %{version}
|
|
||||||
Suggests: e2fsprogs-scrub
|
|
||||||
Source: http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.xz
|
Source: http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.xz
|
||||||
Source2: README.SUSE
|
Source2: README.SUSE
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Source4: http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.sign
|
Source4: http://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v%{version}/e2fsprogs-%{version}.tar.sign
|
||||||
Source5: https://thunk.org/tytso/tytso-key.asc#/%{name}.keyring
|
Source5: https://thunk.org/tytso/tytso-key.asc#/e2fsprogs.keyring
|
||||||
#
|
#
|
||||||
# e2fsprogs patches
|
# e2fsprogs patches
|
||||||
#
|
#
|
||||||
@ -94,6 +52,37 @@ Patch6: harden_e2scrub@.service.patch
|
|||||||
Patch7: harden_e2scrub_all.service.patch
|
Patch7: harden_e2scrub_all.service.patch
|
||||||
Patch8: harden_e2scrub_fail@.service.patch
|
Patch8: harden_e2scrub_fail@.service.patch
|
||||||
Patch9: harden_e2scrub_reap.service.patch
|
Patch9: harden_e2scrub_reap.service.patch
|
||||||
|
BuildRequires: libblkid-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: xz
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
%if 0%{?suse_version} >= 1210
|
||||||
|
%bcond_without systemd
|
||||||
|
%else
|
||||||
|
%bcond_with systemd
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
BuildRequires: makeinfo
|
||||||
|
%endif
|
||||||
|
# Define info macros if missing (for Fedora builds)
|
||||||
|
%if ! 0%{?suse_version}
|
||||||
|
%define install_info_prereq info
|
||||||
|
%define install_info sbin/install-info
|
||||||
|
%define install_info_delete sbin/install-info --delete
|
||||||
|
Requires(post): %install_info_prereq
|
||||||
|
Requires(preun):%install_info_prereq
|
||||||
|
%endif
|
||||||
|
# bug437293
|
||||||
|
%ifarch ppc64
|
||||||
|
Obsoletes: e2fsprogs-64bit
|
||||||
|
%endif
|
||||||
|
#
|
||||||
|
# For regenerate_initrd_post macro
|
||||||
|
Requires(post): /usr/bin/mkdir /usr/bin/touch
|
||||||
|
Requires: libcom_err2 >= %{version}
|
||||||
|
Requires: libext2fs2 >= %{version}
|
||||||
|
Suggests: e2fsprogs-scrub
|
||||||
# Do not suppress make commands
|
# Do not suppress make commands
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -101,6 +90,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
Utilities needed to create and maintain ext2 and ext3 file systems
|
Utilities needed to create and maintain ext2 and ext3 file systems
|
||||||
under Linux. Included in this package are: chattr, lsattr, mke2fs,
|
under Linux. Included in this package are: chattr, lsattr, mke2fs,
|
||||||
mklost+found, tune2fs, e2fsck, resize2fs, and badblocks.
|
mklost+found, tune2fs, e2fsck, resize2fs, and badblocks.
|
||||||
|
%else
|
||||||
|
|
||||||
|
%description
|
||||||
|
fuse2fs is a FUSE file system client that supports reading and
|
||||||
|
writing from devices or image files containing ext2, ext3, and
|
||||||
|
ext4 file systems.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Dummy development package
|
Summary: Dummy development package
|
||||||
@ -118,12 +114,7 @@ Requires: libuuid-devel
|
|||||||
%description devel
|
%description devel
|
||||||
Dummy development package for backwards compatibility.
|
Dummy development package for backwards compatibility.
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%package -n e2fsprogs-scrub-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%package -n e2fsprogs-scrub
|
%package -n e2fsprogs-scrub
|
||||||
%endif
|
|
||||||
Summary: Ext2fs scrubbing scripts and service files
|
Summary: Ext2fs scrubbing scripts and service files
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
@ -140,45 +131,24 @@ Requires: util-linux
|
|||||||
Scripts and systemd service files for background scrubbing of LVM volumes
|
Scripts and systemd service files for background scrubbing of LVM volumes
|
||||||
with ext2, ext3, and ext4 filesystems.
|
with ext2, ext3, and ext4 filesystems.
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%package -n libext2fs2-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%package -n libext2fs2
|
%package -n libext2fs2
|
||||||
%endif
|
|
||||||
Summary: Ext2fs library
|
Summary: Ext2fs library
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%description -n libext2fs2-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%description -n libext2fs2
|
%description -n libext2fs2
|
||||||
%endif
|
|
||||||
The basic Ext2fs shared library.
|
The basic Ext2fs shared library.
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%package -n libext2fs-mini-devel
|
|
||||||
%else
|
|
||||||
|
|
||||||
%package -n libext2fs-devel
|
%package -n libext2fs-devel
|
||||||
%endif
|
|
||||||
Summary: Development files for libext2fs
|
Summary: Development files for libext2fs
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libcom_err-devel
|
Requires: libcom_err-devel
|
||||||
Requires: libext2fs2 = %version
|
Requires: libext2fs2 = %version
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%description -n libext2fs-mini-devel
|
|
||||||
%else
|
|
||||||
|
|
||||||
%description -n libext2fs-devel
|
%description -n libext2fs-devel
|
||||||
%endif
|
|
||||||
Development files for libext2fs.
|
Development files for libext2fs.
|
||||||
|
|
||||||
%if ! %{build_mini}
|
|
||||||
%package -n libext2fs-devel-static
|
%package -n libext2fs-devel-static
|
||||||
Summary: Development files for libext2fs
|
Summary: Development files for libext2fs
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
@ -189,14 +159,8 @@ Provides: libext2fs-devel:%{_libdir}/libext2fs.a
|
|||||||
|
|
||||||
%description -n libext2fs-devel-static
|
%description -n libext2fs-devel-static
|
||||||
Development files for libext2fs. Static libraries.
|
Development files for libext2fs. Static libraries.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%package -n libcom_err2-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%package -n libcom_err2
|
%package -n libcom_err2
|
||||||
%endif
|
|
||||||
Summary: E2fsprogs error reporting library
|
Summary: E2fsprogs error reporting library
|
||||||
# bug437293
|
# bug437293
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -209,20 +173,10 @@ Obsoletes: libcom_err2-64bit
|
|||||||
Provides: libcom_err = %{version}
|
Provides: libcom_err = %{version}
|
||||||
Obsoletes: libcom_err <= 1.40
|
Obsoletes: libcom_err <= 1.40
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%description -n libcom_err2-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%description -n libcom_err2
|
%description -n libcom_err2
|
||||||
%endif
|
|
||||||
com_err is an error message display library.
|
com_err is an error message display library.
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%package -n libcom_err-mini-devel
|
|
||||||
%else
|
|
||||||
|
|
||||||
%package -n libcom_err-devel
|
%package -n libcom_err-devel
|
||||||
%endif
|
|
||||||
Summary: Development files for libcom_err
|
Summary: Development files for libcom_err
|
||||||
# bug437293
|
# bug437293
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -234,15 +188,9 @@ Obsoletes: libcom_err-devel-64bit
|
|||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libcom_err2 = %version
|
Requires: libcom_err2 = %version
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%description -n libcom_err-mini-devel
|
|
||||||
%else
|
|
||||||
|
|
||||||
%description -n libcom_err-devel
|
%description -n libcom_err-devel
|
||||||
%endif
|
|
||||||
Development files for the com_err error message display library.
|
Development files for the com_err error message display library.
|
||||||
|
|
||||||
%if ! %{build_mini}
|
|
||||||
%package -n libcom_err-devel-static
|
%package -n libcom_err-devel-static
|
||||||
Summary: Development files for libcom_err, static libraries
|
Summary: Development files for libcom_err, static libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -258,16 +206,6 @@ Obsoletes: libcom_err-devel-64bit
|
|||||||
|
|
||||||
%description -n libcom_err-devel-static
|
%description -n libcom_err-devel-static
|
||||||
Development files for the com_err error message display library. Static libraries.
|
Development files for the com_err error message display library. Static libraries.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n fuse2fs
|
|
||||||
Summary: FUSE file system client for ext2/ext3/ext4 file systems
|
|
||||||
License: MIT
|
|
||||||
|
|
||||||
%description -n fuse2fs
|
|
||||||
fuse2fs is a FUSE file system client that supports reading and
|
|
||||||
writing from devices or image files containing ext2, ext3, and
|
|
||||||
ext4 file systems.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n e2fsprogs-%{version}
|
%setup -q -n e2fsprogs-%{version}
|
||||||
@ -293,14 +231,12 @@ cp %{SOURCE2} .
|
|||||||
--without-crond-dir \
|
--without-crond-dir \
|
||||||
--with-systemd-unit-dir=%{?_unitdir} \
|
--with-systemd-unit-dir=%{?_unitdir} \
|
||||||
CFLAGS="$RPM_OPT_FLAGS"
|
CFLAGS="$RPM_OPT_FLAGS"
|
||||||
%if %{build_mini}
|
|
||||||
rm -rf doc
|
|
||||||
%endif
|
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
#Guarantee that tranlations match the source messages
|
#Guarantee that tranlations match the source messages
|
||||||
make -C po update-po
|
make -C po update-po
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if "%{flavor}" == ""
|
||||||
make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir}
|
make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_libdir}
|
||||||
|
|
||||||
%{find_lang} e2fsprogs
|
%{find_lang} e2fsprogs
|
||||||
@ -337,92 +273,51 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%if %{build_mini}
|
|
||||||
%pre -n e2fsprogs-scrub-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%pre -n e2fsprogs-scrub
|
%pre -n e2fsprogs-scrub
|
||||||
%endif
|
|
||||||
%service_add_pre e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
%service_add_pre e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%if ! %{build_mini}
|
|
||||||
%if 0%{?suse_version} <= 1530
|
%if 0%{?suse_version} <= 1530
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
|
||||||
%endif
|
%endif
|
||||||
%{?regenerate_initrd_post}
|
%{?regenerate_initrd_post}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%if %{build_mini}
|
|
||||||
%post -n e2fsprogs-scrub-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%post -n e2fsprogs-scrub
|
%post -n e2fsprogs-scrub
|
||||||
%endif
|
|
||||||
%service_add_post e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
%service_add_post e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%if %{build_mini}
|
|
||||||
%preun -n e2fsprogs-scrub-mini
|
|
||||||
%else
|
|
||||||
%if 0%{?suse_version} <= 1530
|
%if 0%{?suse_version} <= 1530
|
||||||
%preun
|
%preun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun -n e2fsprogs-scrub
|
%preun -n e2fsprogs-scrub
|
||||||
%endif
|
|
||||||
%service_del_preun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
%service_del_preun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%if ! %{build_mini}
|
|
||||||
%{?regenerate_initrd_post}
|
%{?regenerate_initrd_post}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with systemd}
|
%if %{with systemd}
|
||||||
%if %{build_mini}
|
|
||||||
%postun -n e2fsprogs-scrub-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%postun -n e2fsprogs-scrub
|
%postun -n e2fsprogs-scrub
|
||||||
%endif
|
|
||||||
%service_del_postun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
%service_del_postun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! %{build_mini}
|
|
||||||
%posttrans
|
%posttrans
|
||||||
%{?regenerate_initrd_posttrans}
|
%{?regenerate_initrd_posttrans}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%post -n libext2fs2-mini -p /sbin/ldconfig
|
|
||||||
%else
|
|
||||||
%post -n libext2fs2 -p /sbin/ldconfig
|
%post -n libext2fs2 -p /sbin/ldconfig
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%postun -n libext2fs2-mini -p /sbin/ldconfig
|
|
||||||
%else
|
|
||||||
%postun -n libext2fs2 -p /sbin/ldconfig
|
%postun -n libext2fs2 -p /sbin/ldconfig
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%post -n libcom_err2-mini -p /sbin/ldconfig
|
|
||||||
%else
|
|
||||||
%post -n libcom_err2 -p /sbin/ldconfig
|
%post -n libcom_err2 -p /sbin/ldconfig
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%postun -n libcom_err2-mini -p /sbin/ldconfig
|
|
||||||
%else
|
|
||||||
%postun -n libcom_err2 -p /sbin/ldconfig
|
%postun -n libcom_err2 -p /sbin/ldconfig
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f e2fsprogs.lang
|
%files -f e2fsprogs.lang
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -476,9 +371,7 @@ done
|
|||||||
%{_sbindir}/e2freefrag
|
%{_sbindir}/e2freefrag
|
||||||
%{_sbindir}/e4defrag
|
%{_sbindir}/e4defrag
|
||||||
%{_sbindir}/e4crypt
|
%{_sbindir}/e4crypt
|
||||||
%if ! %{build_mini}
|
|
||||||
%{_infodir}/libext2fs.info.gz
|
%{_infodir}/libext2fs.info.gz
|
||||||
%endif
|
|
||||||
%{_mandir}/man1/chattr.1.gz
|
%{_mandir}/man1/chattr.1.gz
|
||||||
%{_mandir}/man1/lsattr.1.gz
|
%{_mandir}/man1/lsattr.1.gz
|
||||||
%{_mandir}/man5/ext?.5.gz
|
%{_mandir}/man5/ext?.5.gz
|
||||||
@ -490,12 +383,7 @@ done
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%files -n e2fsprogs-scrub-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%files -n e2fsprogs-scrub
|
%files -n e2fsprogs-scrub
|
||||||
%endif
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config /etc/e2scrub.conf
|
%config /etc/e2scrub.conf
|
||||||
%{_sbindir}/e2scrub
|
%{_sbindir}/e2scrub
|
||||||
@ -510,12 +398,7 @@ done
|
|||||||
%{_unitdir}/e2scrub_reap.service
|
%{_unitdir}/e2scrub_reap.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%files -n libext2fs2-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%files -n libext2fs2
|
%files -n libext2fs2
|
||||||
%endif
|
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%if !0%{?usrmerged}
|
%if !0%{?usrmerged}
|
||||||
/%{_lib}/libext2fs.so.*
|
/%{_lib}/libext2fs.so.*
|
||||||
@ -524,12 +407,7 @@ done
|
|||||||
%{_libdir}/libext2fs.so.*
|
%{_libdir}/libext2fs.so.*
|
||||||
%{_libdir}/libe2p.so.*
|
%{_libdir}/libe2p.so.*
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%files -n libext2fs-mini-devel
|
|
||||||
%else
|
|
||||||
|
|
||||||
%files -n libext2fs-devel
|
%files -n libext2fs-devel
|
||||||
%endif
|
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libext2fs.so
|
%{_libdir}/libext2fs.so
|
||||||
%{_libdir}/libe2p.so
|
%{_libdir}/libe2p.so
|
||||||
@ -538,12 +416,7 @@ done
|
|||||||
%_libdir/pkgconfig/e2p.pc
|
%_libdir/pkgconfig/e2p.pc
|
||||||
%_libdir/pkgconfig/ext2fs.pc
|
%_libdir/pkgconfig/ext2fs.pc
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%files -n libcom_err2-mini
|
|
||||||
%else
|
|
||||||
|
|
||||||
%files -n libcom_err2
|
%files -n libcom_err2
|
||||||
%endif
|
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%if !0%{?usrmerged}
|
%if !0%{?usrmerged}
|
||||||
/%{_lib}/libcom_err.so.*
|
/%{_lib}/libcom_err.so.*
|
||||||
@ -552,12 +425,7 @@ done
|
|||||||
%{_libdir}/libcom_err.so.*
|
%{_libdir}/libcom_err.so.*
|
||||||
%{_libdir}/libss.so.*
|
%{_libdir}/libss.so.*
|
||||||
|
|
||||||
%if %{build_mini}
|
|
||||||
%files -n libcom_err-mini-devel
|
|
||||||
%else
|
|
||||||
|
|
||||||
%files -n libcom_err-devel
|
%files -n libcom_err-devel
|
||||||
%endif
|
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_bindir/compile_et
|
%_bindir/compile_et
|
||||||
%_bindir/mk_cmds
|
%_bindir/mk_cmds
|
||||||
@ -574,7 +442,6 @@ done
|
|||||||
%{_mandir}/man1/mk_cmds.1.gz
|
%{_mandir}/man1/mk_cmds.1.gz
|
||||||
%{_mandir}/man3/com_err.3.gz
|
%{_mandir}/man3/com_err.3.gz
|
||||||
|
|
||||||
%if ! %{build_mini}
|
|
||||||
%files -n libcom_err-devel-static
|
%files -n libcom_err-devel-static
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libcom_err.a
|
%{_libdir}/libcom_err.a
|
||||||
@ -584,10 +451,14 @@ done
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libext2fs.a
|
%{_libdir}/libext2fs.a
|
||||||
%{_libdir}/libe2p.a
|
%{_libdir}/libe2p.a
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n fuse2fs
|
%else
|
||||||
|
%make_install
|
||||||
|
(cd %{buildroot}; find -L -type f | grep -v fuse2fs | xargs rm)
|
||||||
|
|
||||||
|
%files
|
||||||
%_bindir/fuse2fs
|
%_bindir/fuse2fs
|
||||||
%{_mandir}/man1/fuse2fs.1.gz
|
%{_mandir}/man1/fuse2fs.1.gz
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user