Compare commits

..

90 Commits
f26 ... rawhide

Author SHA1 Message Date
Neal Gompa
e61a0b7443 Update to 6.2.2 2023-03-25 20:35:09 -04:00
Neal Gompa
b557c8beb8 Add patch to force default sectorsize to 4k 2023-03-22 18:24:58 -04:00
Neal Gompa
ae500ad192 Update to 6.2.1 2023-03-06 21:46:36 -05:00
Neal Gompa
17c685dc70 Update to 6.1.3
- Switch to SPDX license identifiers
2023-01-25 18:10:46 -05:00
Fedora Release Engineering
b5de6e391d Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:14:02 +00:00
Neal Gompa
b4034dc428 Update to 6.1.2 2023-01-05 15:51:55 -05:00
Neal Gompa
0211491f0e Update to 6.1.1 2023-01-03 17:15:47 -05:00
Neal Gompa
370dc5be90 Add fix to show UUID with "btrfs subvolume list -u" 2022-12-30 08:59:38 -05:00
Neal Gompa
9cef146124 Update to 6.1
- Use libgcrypt for cryptographic hash functions
2022-12-23 11:50:09 -05:00
Neal Gompa
c5958f7403 Update to 6.0.2 2022-11-25 08:20:37 -05:00
Igor Raits
51469ed8c6
Update to 6.0.1 2022-11-04 21:11:41 +01:00
Neal Gompa
877fbd4ee5 Update to 6.0 2022-10-13 15:15:07 -04:00
Neal Gompa
38744e8d9c Update to 5.19.1 2022-10-13 14:23:18 -04:00
Fedora Release Engineering
2c5723788c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:19:35 +00:00
Python Maint
92b35f27e4 Rebuilt for Python 3.11 2022-06-13 18:18:28 +02:00
Neal Gompa
7db4900d26 Update to 5.18 2022-05-25 11:48:08 -04:00
Neal Gompa
e352342bc0 Update to 5.16.2 2022-02-16 20:02:20 -05:00
Igor Raits
7094c22bad
Update to 5.16.1
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2022-02-05 13:21:44 +01:00
Fedora Release Engineering
df2a0bb91a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:39:35 +00:00
Neal Gompa
f70dbb9d0a Update to 5.16 2022-01-17 15:29:23 -05:00
Neal Gompa
266946abde Update to 5.15.1 2021-11-22 16:49:15 -05:00
Neal Gompa
85251bda22 Update to 5.15 2021-11-05 16:34:56 -04:00
Neal Gompa
e6ede9b559 Update to 5.14.91 (5.15~rc1) 2021-10-30 18:12:03 -04:00
Neal Gompa
702cca0513 Update to 5.14.2 2021-10-09 06:59:47 -04:00
Neal Gompa
0596ba3a82 Update to 5.14.1 2021-09-20 14:49:18 -04:00
Neal Gompa
4ecc82bfb6 Mark libbtrfs as deprecated, per upstream release notes 2021-09-10 12:42:20 -04:00
Neal Gompa
97d104b09f Update to 5.14 2021-09-10 12:29:59 -04:00
Neal Gompa
0fb674969c Update to 5.13.1 2021-07-30 11:55:40 -04:00
Fedora Release Engineering
c5f66d7f9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:55:48 +00:00
Fedora Release Engineering
1d54e5887f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 13:58:29 +00:00
Neal Gompa
7e46c69bb4 Update to 5.13 2021-07-13 12:55:43 -04:00
Python Maint
e45a18c0f7 Rebuilt for Python 3.10 2021-06-04 20:00:50 +02:00
Neal Gompa
e43515cec7 Update to 5.12.1 2021-05-13 19:32:40 -04:00
Neal Gompa
4fe8652bb4 Update to 5.12 2021-05-10 16:08:25 -04:00
Tomas Hrnciar
e401367d8a BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:31 +02:00
Igor Raits
181481fba7
Update to 5.11.1
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2021-03-28 12:35:17 +02:00
Igor Raits
6802313d4a
Update to 5.11
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2021-03-05 22:34:31 +01:00
Fedora Release Engineering
d51e482144 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:26:51 +00:00
Neal Gompa
0cca1b99f8 New upstream v5.10 2021-01-19 21:57:58 -05:00
Igor Raits
9124cddba3
Update to 5.10-rc1
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2021-01-15 23:40:28 +01:00
Tom Stellard
acc45c97a9 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 03:10:01 +00:00
Neal Gompa
7bb64d409a New upstream v5.9
- Build Python bindings
- Drop patches incorporated into this release
2020-10-23 23:21:57 -04:00
Neal Gompa
b991c736e2 Add local definition of version_no_tilde macro for when it is unavailable
Some older distributions do not have it present in the default build environment,
because it comes from the Rust packaging macros. To avoid pulling in the Rust
packaging macros unnecessarily, a local version of the macro is included for
when it is unavailable.
2020-08-22 12:37:27 -04:00
Fedora Release Engineering
9107d39acb - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:26:51 +00:00
Neal Gompa
e4a3d39e87 Backport fix for converting 64-bit ext4 filesystems (#1851674) 2020-07-24 09:04:17 -04:00
Neal Gompa
cec386dcf9 Backport fix to not use raid0 by default for mkfs multi-disk (#1855174) 2020-07-21 14:22:35 -04:00
Carl George
c14c9fc1a7 Include bash completion 2020-07-08 17:14:31 -05:00
Neal Gompa
b3fb47ab6c New upstream v5.7 2020-07-02 18:43:03 -04:00
Igor Raits
692e6a6368
Update to 5.7-rc1
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-06-30 11:41:32 +02:00
Igor Raits
09c1c6f239
Rebuild
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-06-15 14:30:03 +02:00
Igor Raits
39a07b27d4
Update to 5.6.1
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-06-08 20:26:02 +02:00
Neal Gompa
e4cebf1d58 New upstream v5.6 2020-04-05 17:41:02 -04:00
Fedora Release Engineering
184cf684a9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 13:21:50 +00:00
Neal Gompa
d42bd7ff93 New upstream v5.4 2019-12-06 06:16:19 -05:00
Neal Gompa
7d12fecf1a New upstream v5.2.1 2019-08-24 13:13:24 -04:00
Fedora Release Engineering
1492e52bf2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:38:37 +00:00
Neal Gompa
2d33c1051a New upstream v5.1 2019-05-30 20:49:32 -04:00
Neal Gompa
facf7308e0 New upstream v4.20.2
- Properly split out libraries into libs subpackages
- Slightly modernize the spec
2019-03-10 09:39:05 -04:00
Fedora Release Engineering
ee2286396a - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:58:55 +00:00
Igor Gnatenko
fbd3b40c3a Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:57 +01:00
Eric Sandeen
c58571b023 New sources file for v4.19.1 2018-12-05 10:56:51 -06:00
Eric Sandeen
982d47618f New upstream v4.19.1
Fixes big-endian build, among other things
2018-12-05 10:42:19 -06:00
Eric Sandeen
28e0f3f409 New upstream release v4.19 2018-12-05 09:56:24 -06:00
Eric Sandeen
6954617e33 New upstream version v4.17.1 2018-08-07 18:54:21 -05:00
Eric Sandeen
8456aa11e4 New upstream release v4.17 2018-07-23 12:52:14 -05:00
Fedora Release Engineering
b66d516934 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:23:47 +00:00
Jason Tibbitts
a613436840 Remove needless use of %defattr 2018-07-10 00:28:16 -05:00
Miro Hrončok
e2508d7c46 Rebuilt for Python 3.7 2018-06-19 10:40:44 +02:00
Eric Sandeen
afba20088e Fix up header file install paths (#1564881) 2018-04-08 12:14:31 -05:00
Eric Sandeen
b1fb30924c New upstream release v4.16 2018-04-06 18:57:07 -05:00
Eric Sandeen
dd6c959483 BuildRequires: gcc 2018-02-26 10:04:08 -06:00
Eric Sandeen
7b15baa71c New upstream release 2018-02-16 18:21:05 -06:00
Igor Gnatenko
ab70d8062c
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:53:46 +01:00
Igor Gnatenko
9ddd9f04c4 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:07:14 +01:00
Fedora Release Engineering
6c68657a18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 04:15:23 +00:00
Eric Sandeen
1e6193fab7 New upstream version v4.14.1 2018-01-05 20:28:01 -06:00
Eric Sandeen
46121663e8 New upstream version v4.13.3 2017-10-17 19:59:54 -05:00
Eric Sandeen
260196ebd3 New upstram release v4.13.2 2017-10-06 12:41:59 -05:00
Eric Sandeen
c21023c5cb New upstream release v4.13.1 2017-09-26 12:55:52 -05:00
Eric Sandeen
fc3f989e75 New upstream release v4.13 2017-09-08 12:31:59 -05:00
Eric Sandeen
622fd51ff2 New upstream version v4.12.1 2017-08-28 08:33:38 -05:00
Eric Sandeen
55538f82fe New upstream release v4.12 2017-07-31 10:55:39 -05:00
Igor Gnatenko
0899b1cd25 Add missing BuildRequires: systemd
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-31 15:59:42 +02:00
Fedora Release Engineering
799854e605 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:16:46 +00:00
Eric Sandeen
3d881517c1 New upstream version v4.11.1 2017-07-03 10:14:37 -05:00
Eric Sandeen
f3304e8b2c New upstream version v4.11 2017-05-18 17:39:29 -05:00
Eric Sandeen
2f38b92b2d New upstream version v4.10.2 2017-05-03 13:52:36 -05:00
Eric Sandeen
a521cfa68b New upstream version v4.10.1 2017-03-16 19:55:29 -05:00
Eric Sandeen
6ac8c1f80a And update sources 2017-03-09 02:25:47 -06:00
Eric Sandeen
51c8b5092d New upstream version v4.10 2017-03-08 18:30:20 -06:00
6 changed files with 580 additions and 33 deletions

80
.gitignore vendored
View File

@ -42,3 +42,83 @@
/btrfs-progs-4.9-1.fc26.src.rpm /btrfs-progs-4.9-1.fc26.src.rpm
/btrfs-progs-v4.9.tar.xz /btrfs-progs-v4.9.tar.xz
/btrfs-progs-v4.9.1.tar.xz /btrfs-progs-v4.9.1.tar.xz
/btrfs-progs-v4.10.tar.xz
/btrfs-progs-v4.10.1.tar.xz
/btrfs-progs-v4.10.2.tar.xz
/btrfs-progs-v4.11.tar.xz
/btrfs-progs-v4.11.1.tar.xz
/btrfs-progs-v4.12.tar.xz
/btrfs-progs-v4.12.1.tar.xz
/btrfs-progs-v4.13.tar.xz
/btrfs-progs-v4.13.1.tar.xz
/btrfs-progs-v4.13.2.tar.xz
/btrfs-progs-v4.13.3.tar.xz
/btrfs-progs-v4.14.1.tar.xz
/btrfs-progs-v4.15.1.tar.xz
/btrfs-progs-v4.16.tar.xz
/btrfs-progs-v4.17.tar.xz
/btrfs-progs-v4.17.1.tar.xz
/btrfs-progs-v4.19.tar.xz
/btrfs-progs-v4.19.1.tar.xz
/btrfs-progs-v4.20.2.tar.xz
/btrfs-progs-v5.1.tar.xz
/btrfs-progs-v5.2.1.tar.xz
/btrfs-progs-v5.4.tar.xz
/btrfs-progs-v5.6.tar.xz
/btrfs-progs-v5.6.1.tar.xz
/btrfs-progs-v5.7-rc1.tar.xz
/btrfs-progs-v5.7.tar.xz
/btrfs-progs-v5.9.tar.xz
/btrfs-progs-v5.10-rc1.tar.xz
/btrfs-progs-v5.10.tar.xz
/btrfs-progs-v5.11.tar.xz
/btrfs-progs-v5.11.1.tar.sign
/btrfs-progs-v5.11.1.tar.xz
/btrfs-progs-v5.12.tar.sign
/btrfs-progs-v5.12.tar.xz
/btrfs-progs-v5.12.1.tar.sign
/btrfs-progs-v5.12.1.tar.xz
/btrfs-progs-v5.13.tar.sign
/btrfs-progs-v5.13.tar.xz
/btrfs-progs-v5.13.1.tar.sign
/btrfs-progs-v5.13.1.tar.xz
/btrfs-progs-v5.14.tar.sign
/btrfs-progs-v5.14.tar.xz
/btrfs-progs-v5.14.1.tar.sign
/btrfs-progs-v5.14.1.tar.xz
/btrfs-progs-v5.14.2.tar.sign
/btrfs-progs-v5.14.2.tar.xz
/btrfs-progs-v5.14.91.tar.sign
/btrfs-progs-v5.14.91.tar.xz
/btrfs-progs-v5.15.tar.sign
/btrfs-progs-v5.15.tar.xz
/btrfs-progs-v5.15.1.tar.sign
/btrfs-progs-v5.15.1.tar.xz
/btrfs-progs-v5.16.tar.sign
/btrfs-progs-v5.16.tar.xz
/btrfs-progs-v5.16.1.tar.sign
/btrfs-progs-v5.16.1.tar.xz
/btrfs-progs-v5.16.2.tar.sign
/btrfs-progs-v5.16.2.tar.xz
/btrfs-progs-v5.18.tar.sign
/btrfs-progs-v5.18.tar.xz
/btrfs-progs-v5.19.1.tar.sign
/btrfs-progs-v5.19.1.tar.xz
/btrfs-progs-v6.0.tar.sign
/btrfs-progs-v6.0.tar.xz
/btrfs-progs-v6.0.1.tar.sign
/btrfs-progs-v6.0.1.tar.xz
/btrfs-progs-v6.0.2.tar.sign
/btrfs-progs-v6.0.2.tar.xz
/btrfs-progs-v6.1.tar.sign
/btrfs-progs-v6.1.tar.xz
/btrfs-progs-v6.1.1.tar.sign
/btrfs-progs-v6.1.1.tar.xz
/btrfs-progs-v6.1.2.tar.sign
/btrfs-progs-v6.1.2.tar.xz
/btrfs-progs-v6.1.3.tar.sign
/btrfs-progs-v6.1.3.tar.xz
/btrfs-progs-v6.2.1.tar.sign
/btrfs-progs-v6.2.1.tar.xz
/btrfs-progs-v6.2.2.tar.sign
/btrfs-progs-v6.2.2.tar.xz

View File

@ -0,0 +1,91 @@
From: Neal Gompa <neal@gompa.dev>
Subject: [PATCH 1/1] btrfs-progs: mkfs: Enforce 4k sectorsize by default
Date: Wed, 22 Mar 2023 18:17:14 -0400
Content-Transfer-Encoding: 8bit
We have had working subpage support in Btrfs for many cycles now.
Generally, we do not want people creating filesystems by default
with non-4k sectorsizes since it creates portability problems.
Signed-off-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
---
Documentation/Subpage.rst | 15 ++++++++-------
Documentation/mkfs.btrfs.rst | 13 +++++++++----
mkfs/main.c | 2 +-
3 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/Documentation/Subpage.rst b/Documentation/Subpage.rst
index 21a495d5..39ef7d6d 100644
--- a/Documentation/Subpage.rst
+++ b/Documentation/Subpage.rst
@@ -9,17 +9,18 @@ to the exactly same size of the block and page. On x86_64 this is typically
pages, like 64KiB on 64bit ARM or PowerPC. This means filesystems created
with 64KiB sector size cannot be mounted on a system with 4KiB page size.
-While with subpage support, systems with 64KiB page size can create (still needs
-"-s 4k" option for mkfs.btrfs) and mount filesystems with 4KiB sectorsize,
-allowing us to push 4KiB sectorsize as default sectorsize for all platforms in the
-near future.
+Since v6.3, filesystems are created with a 4KiB sectorsize by default,
+though it remains possible to create filesystems with other page sizes
+(such as 64KiB with the "-s 64k" option for mkfs.btrfs). This ensures that
+new filesystems are compatible across other architecture variants using
+larger page sizes.
Requirements, limitations
-------------------------
-The initial subpage support has been added in v5.15, although it's still
-considered as experimental at the time of writing (v5.18), most features are
-already working without problems.
+The initial subpage support has been added in v5.15. Most features are
+already working without problems. Subpage support is used by default
+for systems with a non-4KiB page size since v6.3.
End users can mount filesystems with 4KiB sectorsize and do their usual
workload, while should not notice any obvious change, as long as the initial
diff --git a/Documentation/mkfs.btrfs.rst b/Documentation/mkfs.btrfs.rst
index ba7227b3..16abf0ca 100644
--- a/Documentation/mkfs.btrfs.rst
+++ b/Documentation/mkfs.btrfs.rst
@@ -116,10 +116,15 @@ OPTIONS
-s|--sectorsize <size>
Specify the sectorsize, the minimum data block allocation unit.
- The default value is the page size and is autodetected. If the sectorsize
- differs from the page size, the created filesystem may not be mountable by the
- running kernel. Therefore it is not recommended to use this option unless you
- are going to mount it on a system with the appropriate page size.
+ By default, the value is 4KiB, but it can be manually set to match the
+ system page size. However, if the sector size is different from the page
+ size, the resulting filesystem may not be mountable by the current
+ kernel, apart from the default 4KiB. Hence, using this option is not
+ advised unless you intend to mount it on a system with the suitable
+ page size.
+
+ .. note::
+ Versions prior to 6.3 set the sectorsize matching to the page size.
-L|--label <string>
Specify a label for the filesystem. The *string* should be less than 256
diff --git a/mkfs/main.c b/mkfs/main.c
index f5e34cbd..5e1834d7 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1207,7 +1207,7 @@ int BOX_MAIN(mkfs)(int argc, char **argv)
}
if (!sectorsize)
- sectorsize = (u32)sysconf(_SC_PAGESIZE);
+ sectorsize = (u32)SZ_4K;
if (btrfs_check_sectorsize(sectorsize))
goto error;
--
2.39.2

View File

@ -0,0 +1,52 @@
From 56ea5a3eba4f2048d3e6297a7ab7eb5ef19e2177 Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa@fedoraproject.org>
Date: Tue, 21 Mar 2023 15:40:15 -0400
Subject: [PATCH 2/2] btrfs-progs: mkfs: doc: Drop version change for 4k
sectorsize
This is not yet upstream so we don't know what version this change
has landed in.
---
Documentation/Subpage.rst | 4 ++--
Documentation/mkfs.btrfs.rst | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/Documentation/Subpage.rst b/Documentation/Subpage.rst
index 39ef7d6d..a128db95 100644
--- a/Documentation/Subpage.rst
+++ b/Documentation/Subpage.rst
@@ -9,7 +9,7 @@ to the exactly same size of the block and page. On x86_64 this is typically
pages, like 64KiB on 64bit ARM or PowerPC. This means filesystems created
with 64KiB sector size cannot be mounted on a system with 4KiB page size.
-Since v6.3, filesystems are created with a 4KiB sectorsize by default,
+Filesystems are created with a 4KiB sectorsize by default,
though it remains possible to create filesystems with other page sizes
(such as 64KiB with the "-s 64k" option for mkfs.btrfs). This ensures that
new filesystems are compatible across other architecture variants using
@@ -20,7 +20,7 @@ Requirements, limitations
The initial subpage support has been added in v5.15. Most features are
already working without problems. Subpage support is used by default
-for systems with a non-4KiB page size since v6.3.
+for systems with a non-4KiB page size.
End users can mount filesystems with 4KiB sectorsize and do their usual
workload, while should not notice any obvious change, as long as the initial
diff --git a/Documentation/mkfs.btrfs.rst b/Documentation/mkfs.btrfs.rst
index 50d9921a..0f6056a4 100644
--- a/Documentation/mkfs.btrfs.rst
+++ b/Documentation/mkfs.btrfs.rst
@@ -123,9 +123,6 @@ OPTIONS
advised unless you intend to mount it on a system with the suitable
page size.
- .. note::
- Versions prior to 6.3 set the sectorsize matching to the page size.
-
-L|--label <string>
Specify a label for the filesystem. The *string* should be less than 256
bytes and must not contain newline characters.
--
2.39.2

View File

@ -1,80 +1,403 @@
Name: btrfs-progs # Local definition of version_no_tilde when it doesn't exist
Version: 4.9.1 %{!?version_no_tilde: %define version_no_tilde %{shrink:%(echo '%{version}' | tr '~' '-')}}
Release: 2%{?dist}
Summary: Userspace programs for btrfs
Group: System Environment/Base Name: btrfs-progs
License: GPLv2 Version: 6.2.2
URL: http://btrfs.wiki.kernel.org/index.php/Main_Page Release: 1%{?dist}
Source0: https://www.kernel.org/pub/linux/kernel/people/kdave/%{name}/%{name}-v%{version}.tar.xz Summary: Userspace programs for btrfs
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: GPL-2.0-only
URL: https://btrfs.wiki.kernel.org/index.php/Main_Page
Source0: https://www.kernel.org/pub/linux/kernel/people/kdave/%{name}/%{name}-v%{version_no_tilde}.tar.xz
Source1: https://www.kernel.org/pub/linux/kernel/people/kdave/%{name}/%{name}-v%{version_no_tilde}.tar.sign
Source2: gpgkey-F2B41200C54EFB30380C1756C565D5F9D76D583B.gpg
BuildRequires: autoconf, automake # Upstreamable changes
BuildRequires: e2fsprogs-devel, libuuid-devel, zlib-devel ## From: https://lore.kernel.org/linux-btrfs/20230322221714.2702819-1-neal@gompa.dev/T/#t
BuildRequires: libacl-devel, libblkid-devel, lzo-devel Patch0101: 0001-btrfs-progs-mkfs-Enforce-4k-sectorsize-by-default.patch
BuildRequires: asciidoc, xmlto ## Fedora specific doc change stacked on top
Patch0102: 0002-btrfs-progs-mkfs-doc-Drop-version-change-for-4k-sect.patch
%define _root_sbindir /sbin
BuildRequires: gnupg2
BuildRequires: gcc, autoconf, automake, make
BuildRequires: git-core
BuildRequires: e2fsprogs-devel
BuildRequires: libacl-devel, lzo-devel
BuildRequires: pkgconfig(blkid)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libgcrypt) >= 1.8.0
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libzstd) >= 1.0.0
BuildRequires: python3-sphinx
BuildRequires: systemd
BuildRequires: python3-devel >= 3.4
BuildRequires: python3-setuptools
%description %description
The btrfs-progs package provides all the userspace programs needed to create, The btrfs-progs package provides all the userspace programs needed to create,
check, modify and correct any inconsistencies in the btrfs filesystem. check, modify and correct any inconsistencies in the btrfs filesystem.
%package -n libbtrfs
Summary: btrfs filesystem-specific runtime libraries
License: GPL-2.0-only
# Upstream deprecated this library
Provides: deprecated()
# This was not properly split out before
Conflicts: %{name} < 4.20.2
%description -n libbtrfs
libbtrfs contains the main library used by btrfs
filesystem-specific programs.
%package -n libbtrfsutil
Summary: btrfs filesystem-specific runtime utility libraries
License: LGPL-2.1-or-later
# This was not properly split out before
Conflicts: %{name}-devel < 4.20.2
%description -n libbtrfsutil
libbtrfsutil contains an alternative utility library used by btrfs
filesystem-specific programs.
%package devel %package devel
Summary: btrfs filesystem-specific libraries and headers Summary: btrfs filesystem-specific libraries and headers
Group: Development/Libraries # libbtrfsutil is LGPLv2+
Requires: btrfs-progs = %{version}-%{release} License: GPL-2.0-only and LGPL-2.1-or-later
Requires: %{name} = %{version}-%{release}
Requires: libbtrfs%{?_isa} = %{version}-%{release}
Requires: libbtrfsutil%{?_isa} = %{version}-%{release}
%description devel %description devel
btrfs-progs-devel contains the libraries and header files needed to btrfs-progs-devel contains the libraries and header files needed to
develop btrfs filesystem-specific programs. develop btrfs filesystem-specific programs.
It includes development files for two libraries:
- libbtrfs (GPLv2)
- libbtrfsutil (LGPLv2+)
You should install btrfs-progs-devel if you want to develop You should install btrfs-progs-devel if you want to develop
btrfs filesystem-specific programs. btrfs filesystem-specific programs.
%package -n python3-btrfsutil
Summary: Python 3 bindings for libbtrfsutil
License: LGPL-2.1-or-later
Requires: libbtrfsutil%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-btrfsutil}
%description -n python3-btrfsutil
python3-btrfsutil contains Python 3 bindings to the libbtrfsutil library,
which can be used for btrfs filesystem-specific programs in Python.
You should install python3-btrfsutil if you want to use or develop
btrfs filesystem-specific programs in Python.
%prep %prep
%setup -q -n %{name}-v%{version} xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
%autosetup -n %{name}-v%{version_no_tilde} -S git_am
%build %build
./autogen.sh ./autogen.sh
%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure CFLAGS="%{optflags} -fno-strict-aliasing" --with-crypto=libgcrypt --disable-python
make %{?_smp_mflags} %make_build
pushd libbtrfsutil/python
%py3_build
popd
%install %install
rm -rf $RPM_BUILD_ROOT %make_install mandir=%{_mandir} bindir=%{_sbindir} libdir=%{_libdir} incdir=%{_includedir}
make mandir=%{_mandir} bindir=%{_sbindir} libdir=%{_libdir} incdir=%{_includedir}/btrfs install DESTDIR=$RPM_BUILD_ROOT install -Dpm0644 btrfs-completion %{buildroot}%{_datadir}/bash-completion/completions/btrfs
# Nuke the static lib # Nuke the static lib
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a rm -v %{buildroot}%{_libdir}/*.a
%clean pushd libbtrfsutil/python
rm -rf $RPM_BUILD_ROOT %py3_install
popd
%files %files
%defattr(-,root,root,-) %license COPYING
%doc COPYING
%{_libdir}/libbtrfs.so.0*
%{_sbindir}/btrfsck %{_sbindir}/btrfsck
%{_sbindir}/fsck.btrfs %{_sbindir}/fsck.btrfs
%{_sbindir}/mkfs.btrfs %{_sbindir}/mkfs.btrfs
%{_sbindir}/btrfs-debug-tree
%{_sbindir}/btrfs-image %{_sbindir}/btrfs-image
%{_sbindir}/btrfs-convert %{_sbindir}/btrfs-convert
%{_sbindir}/btrfs-select-super %{_sbindir}/btrfs-select-super
%{_sbindir}/btrfstune %{_sbindir}/btrfstune
%{_sbindir}/btrfs %{_sbindir}/btrfs
%{_sbindir}/btrfs-map-logical %{_sbindir}/btrfs-map-logical
%{_sbindir}/btrfs-zero-log
%{_sbindir}/btrfs-find-root %{_sbindir}/btrfs-find-root
%{_mandir}/man5/*.gz %{_mandir}/man5/*
%{_mandir}/man8/*.gz %{_mandir}/man8/*
%{_udevrulesdir}/64-btrfs-dm.rules %{_udevrulesdir}/64-btrfs-dm.rules
%{_udevrulesdir}/64-btrfs-zoned.rules
%{_datadir}/bash-completion/completions/btrfs
%files -n libbtrfs
%license COPYING
%{_libdir}/libbtrfs.so.0*
%files -n libbtrfsutil
%license libbtrfsutil/COPYING
%{_libdir}/libbtrfsutil.so.1*
%files devel %files devel
%{_includedir}/* %{_includedir}/*
%{_libdir}/libbtrfs.so %{_libdir}/libbtrfs.so
%{_libdir}/libbtrfsutil.so
%{_libdir}/pkgconfig/libbtrfsutil.pc
%files -n python3-btrfsutil
%license libbtrfsutil/COPYING
%{python3_sitearch}/btrfsutil.*.so
%{python3_sitearch}/btrfsutil-*.egg-info/
%changelog %changelog
* Sun Mar 26 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.2.2-1
- Update to 6.2.2
* Wed Mar 22 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.2.1-2
- Add patch to force default sectorsize to 4k
* Mon Mar 06 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.2.1-1
- Update to 6.2.1
* Wed Jan 25 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.1.3-1
- Update to 6.1.3
- Switch to SPDX license identifiers
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 05 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.1.2-1
- Update to 6.1.2
* Tue Jan 03 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.1.1-1
- Update to 6.1.1
* Fri Dec 30 2022 Neal Gompa <ngompa@fedoraproject.org> - 6.1-2
- Add fix to show UUID with "btrfs subvolume list -u"
* Fri Dec 23 2022 Neal Gompa <ngompa@fedoraproject.org> - 6.1-1
- Update to 6.1
- Use libgcrypt for cryptographic hash functions
* Fri Nov 25 2022 Neal Gompa <ngompa@fedoraproject.org> - 6.0.2-1
- Update to 6.0.2
* Fri Nov 04 2022 Igor Raits <ignatenkobrain@fedoraproject.org> - 6.0.1-1
- Update to 6.0.1
* Thu Oct 13 2022 Neal Gompa <ngompa@fedoraproject.org> - 6.0-1
- Update to 6.0
* Thu Oct 13 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.19.1-1
- Update to 5.19.1
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.18-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.18-2
- Rebuilt for Python 3.11
* Wed May 25 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.18-1
- Update to 5.18
* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.16.2-1
- Update to 5.16.2
* Sat Feb 05 2022 Igor Raits <igor.raits@gmail.com> - 5.16.1-1
- Update to 5.16.1
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 17 2022 Neal Gompa <ngompa@fedoraproject.org> - 5.16-1
- Update to 5.16
* Mon Nov 22 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.15.1-1
- Update to 5.15.1
* Fri Nov 05 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.15-1
- Update to 5.15
* Sat Oct 30 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.14.91-1
- Update to 5.14.91 (5.15~rc1)
* Sat Oct 09 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.14.2-1
- Update to 5.14.2
* Mon Sep 20 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.14.1-1
- Update to 5.14.1
* Fri Sep 10 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.14-2
- Mark libbtrfs as deprecated, per upstream release notes
* Fri Sep 10 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.14-1
- Update to 5.14
* Fri Jul 30 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.13.1-1
- Update to 5.13.1
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jul 13 2021 Neal Gompa <ngompa@fedoraproject.org> - 5.13-1
- Update to 5.13
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.12.1-2
- Rebuilt for Python 3.10
* Thu May 13 2021 Neal Gompa <ngompa13@gmail.com> - 5.12.1-1
- Update to 5.12.1
* Mon May 10 2021 Neal Gompa <ngompa13@gmail.com> - 5.12-1
- Update to 5.12
* Sun Mar 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.11.1-1
- Update to 5.11.1
* Fri Mar 05 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.11-1
- Update to 5.11
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jan 19 2021 Neal Gompa <ngompa13@gmail.com> - 5.10-1
- New upstream release
* Fri Jan 15 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.10~rc1-1
- Update to 5.10-rc1
* Fri Oct 23 2020 Neal Gompa <ngompa13@gmail.com> - 5.9-1
- New upstream release
- Build Python bindings
- Drop patches incorporated into this release
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 24 2020 Neal Gompa <ngompa13@gmail.com> - 5.7-4
- Backport fix for converting 64-bit ext4 filesystems (#1851674)
* Tue Jul 21 2020 Neal Gompa <ngompa13@gmail.com> - 5.7-3
- Backport fix to not use raid0 by default for mkfs multi-disk (#1855174)
* Wed Jul 08 2020 Carl George <carl@george.computer> - 5.7-2
- Include bash completion
* Thu Jul 02 2020 Neal Gompa <ngompa13@gmail.com> - 5.7-1
- New upstream release
* Tue Jun 30 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.7~rc1-1
- Update to 5.7-rc1
* Mon Jun 15 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.6.1-2
- Rebuild
* Mon Jun 08 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.6.1-1
- Update to 5.6.1
* Sun Apr 05 2020 Neal Gompa <ngompa13@gmail.com> - 5.6-1
- New upstream release
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Dec 06 2019 Neal Gompa <ngompa13@gmail.com> - 5.4-1
- New upstream release
* Sat Aug 24 2019 Neal Gompa <ngompa13@gmail.com> - 5.2.1-1
- New upstream release
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Neal Gompa <ngompa13@gmail.com> - 5.1-1
- New upstream release
* Sun Mar 10 2019 Neal Gompa <ngompa13@gmail.com> - 4.20.2-1
- New upstream release
- Properly split out libraries into libs subpackages
- Slightly modernize the spec
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 05 2018 Eric Sandeen <sandeen@redhat.com> 4.19.-1
- New usptream release
* Mon Aug 06 2018 Eric Sandeen <sandeen@redhat.com> 4.17.1-1
- New upstream release
* Mon Jul 23 2018 Eric Sandeen <sandeen@redhat.com> 4.17-1
- New upstream release
- Removes deprecated btrfs-debug-tree, btrfs-zero-log
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.16-3
- Rebuilt for Python 3.7
* Sun Apr 08 2018 Eric Sandeen <sandeen@redhat.com> 4.16-2
- Fix up header install paths in devel package (#1564881)
* Fri Apr 06 2018 Eric Sandeen <sandeen@redhat.com> 4.16-1
- New upstream release
* Mon Feb 26 2018 Eric Sandeen <sandeen@redhat.com> 4.15.1-2
- BuildRequires: gcc
* Fri Feb 16 2018 Eric Sandeen <sandeen@redhat.com> 4.15.1-1
- New upstream release
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 05 2018 Eric Sandeen <sandeen@redhat.com> 4.14.1-1
- New upstream release
* Tue Oct 17 2017 Eric Sandeen <sandeen@redhat.com> 4.13.3-1
- New upstream release
* Fri Oct 06 2017 Eric Sandeen <sandeen@redhat.com> 4.13.2-1
- New upstream release
* Tue Sep 26 2017 Eric Sandeen <sandeen@redhat.com> 4.13.1-1
- New upstream release
* Fri Sep 08 2017 Eric Sandeen <sandeen@redhat.com> 4.13-1
- New upstream release
* Mon Aug 28 2017 Eric Sandeen <sandeen@redhat.com> 4.12.1-1
- New upstream release
* Mon Jul 31 2017 Eric Sandeen <sandeen@redhat.com> 4.12-1
- New upstream release
* Mon Jul 31 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.11.1-3
- Add missing BuildRequires: systemd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.11.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jul 03 2017 Eric Sandeen <sandeen@redhat.com> 4.11.1-1
- New upstream release
* Thu May 18 2017 Eric Sandeen <sandeen@redhat.com> 4.11-1
- New upstream release
* Wed May 03 2017 Eric Sandeen <sandeen@redhat.com> 4.10.2-1
- New upstream release
* Fri Mar 17 2017 Eric Sandeen <sandeen@redhat.com> 4.10.1-1
- New upstream release
* Wed Mar 8 2017 Eric Sandeen <sandeen@redhat.com> 4.10-1
- New upstream release
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.1-2 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Binary file not shown.

View File

@ -1 +1,2 @@
SHA512 (btrfs-progs-v4.9.1.tar.xz) = 143f5c8863f3b9eff2e4ca2c750bb80ffe62f66d0c15d23e6f5bf75dab0133dcd3ff4d4c722360560de24b73e3da1222f265230d18de06d7bccd85ad2cb9a6a5 SHA512 (btrfs-progs-v6.2.2.tar.sign) = cd05827dfd66de7eefb0dc9534baacffe7b115fa1f3b2c0d0e7bb280ff47ed9c6308684db2284f65750fb883bbcc2fecb36c09b597f11b07e29d8864b032af33
SHA512 (btrfs-progs-v6.2.2.tar.xz) = 967e1c1a6b956a4e11a794aad090d1cf370fd98e4186525ccfbbbc9ae3f2bb66ace1d684730f93c558403b7ac1c991aec3d04d07548b19ee1516352a069431db