1
1
Vendor: Microsoft Corporation
2
2
Distribution: Azure Linux
3
- %global _root_libdir /%{_lib }
4
- %global _root_sbindir /sbin
5
3
6
4
Name: nilfs-utils
7
- Version: 2.2.8
8
- Release: 3 %{?dist }
5
+ Version: 2.2.11
6
+ Release: 1 %{?dist }
9
7
Summary: Utilities for managing NILFS v2 filesystems
10
8
11
9
License: GPLv2+
12
10
URL: http://nilfs.sourceforge.net
13
11
Source0: http://nilfs.sourceforge.net/download/%{name }-%{version }.tar.bz2
14
- BuildRequires: gcc, libuuid-devel, libmount-devel
12
+ Source1: http://nilfs.sourceforge.net/download/%{name }-%{version }.tar.bz2.asc
13
+ Source2: 8B055AE86DEFF458.asc
14
+ BuildRequires: make
15
+ BuildRequires: gcc, libuuid-devel, libmount-devel, gnupg2
15
16
16
17
%description
17
18
Userspace utilities for creating and mounting NILFS v2 filesystems.
@@ -29,34 +30,36 @@ filesystem-specific programs. If you install nilfs-utils-devel, you'll
29
30
also want to install nilfs-utils.
30
31
31
32
%prep
33
+ %{gpgverify } --keyring=' %{SOURCE2}' --signature=' %{SOURCE1}' --data=' %{SOURCE0}'
32
34
%setup -q
33
35
34
36
%build
35
37
# geez, make install is trying to run ldconfig on the system
36
- %configure LDCONFIG=/bin/true --disable-static --libdir %{ _root_libdir }
38
+ %configure LDCONFIG=/bin/true --disable-static
37
39
sed -i ' s|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
38
40
sed -i ' s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
39
41
make %{?_smp_mflags }
40
42
41
43
%install
42
44
rm -rf $RPM_BUILD_ROOT
43
- make install DESTDIR=$RPM_BUILD_ROOT
44
- rm -f $RPM_BUILD_ROOT /%{_root_libdir }/libnilfs* .la
45
+ make install DESTDIR=$RPM_BUILD_ROOT sbindir=% _sbindir root_sbindir=% _sbindir
46
+ rm -f $RPM_BUILD_ROOT /%{_libdir }/libnilfs* .la
45
47
46
48
%ldconfig_scriptlets
47
49
48
50
%files
49
51
%doc COPYING ChangeLog
50
52
%config(noreplace) /etc/nilfs_cleanerd.conf
51
- %{_root_sbindir }/mkfs.nilfs2
52
- %{_root_sbindir }/mount.nilfs2
53
- %{_root_sbindir }/nilfs_cleanerd
54
- %{_root_sbindir }/umount.nilfs2
53
+ %{_sbindir }/mkfs.nilfs2
54
+ %{_sbindir }/mount.nilfs2
55
+ %{_sbindir }/nilfs_cleanerd
56
+ %{_sbindir }/umount.nilfs2
55
57
%{_sbindir }/nilfs-tune
56
58
%{_sbindir }/nilfs-clean
57
59
%{_sbindir }/nilfs-resize
58
- %{_root_libdir }/libnilfscleaner.so.*
59
- %{_root_libdir }/libnilfsgc.so.*
60
+ %{_libdir }/libnilfscleaner.so.*
61
+ %{_libdir }/libnilfsgc.so.*
62
+ %{_libdir }/libnilfs.so.*
60
63
%{_bindir }/chcp
61
64
%{_bindir }/dumpseg
62
65
%{_bindir }/lscp
@@ -78,17 +81,19 @@ rm -f $RPM_BUILD_ROOT/%{_root_libdir}/libnilfs*.la
78
81
%{_mandir }/man8/nilfs-tune.8.gz
79
82
%{_mandir }/man8/nilfs-clean.8.gz
80
83
%{_mandir }/man8/nilfs-resize.8.gz
81
- %{_root_libdir }/libnilfs.so.*
82
84
83
85
%files devel
84
- %{_root_libdir }/libnilfs.so
85
- %{_root_libdir }/libnilfscleaner.so
86
- %{_root_libdir }/libnilfsgc.so
86
+ %{_libdir }/libnilfs.so
87
+ %{_libdir }/libnilfscleaner.so
88
+ %{_libdir }/libnilfsgc.so
87
89
%{_includedir }/nilfs.h
88
- %{_includedir }/nilfs2_fs.h
89
90
%{_includedir }/nilfs_cleaner.h
90
91
91
92
%changelog
93
+ *
Tue Dec 17 2024 Durga Jagadeesh Palli <[email protected] > -
2.2.11-1
94
+ - Update to 2.2.11
95
+ - License verified
96
+
92
97
*
Fri Oct 15 2021 Pawel Winogrodzki <[email protected] > -
2.2.8-3
93
98
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
94
99
0 commit comments