Skip to contentSkip to conversation

xfsprogs spec file update

PATCH In review Nathan Scott 3 participants 3 messages Jan 24, 2009 – Jan 25, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfsprogs spec file update

Since binaries have moved between xfsprogs and xfsdump packages in version 3.0.0, we need to fix the dependencies in the rpm specfiles, else rpm will complain.

While in there, remove xfs-cmds Provides/Obsoletes lines, there is no way anyone is ever going to be requiring those anymore (no real-world upgrade path having such old skool SGI-released rpms).

build/rpm/xfsprogs.spec.in +3 -5
index 2826a37..cf61225 100644
@@ -5,10 +5,8 @@ Release: @pkg_release@
 Distribution: @pkg_distribution@
 Packager: Silicon Graphics, Inc. <http://www.sgi.com/>
 BuildRoot: @build_root@ 
-Provides: xfs-cmds
-Obsoletes: xfs-cmds
 Prereq: /sbin/ldconfig
-Conflicts: xfsdump < 2.0.0
+Conflicts: xfsdump < 3.0.0
 Source: @pkg_name@-@[email protected]
 License: GPL
 Vendor: Silicon Graphics, Inc.
@@ -32,8 +30,8 @@ with the IRIX version of XFS.
 %package devel
 Summary: XFS filesystem-specific static libraries and headers.
 Group: Development/Libraries
-Requires: @pkg_name@ >= 2.0.0
-Conflicts: @pkg_name@ < 2.0.0
+Requires: @pkg_name@ >= 3.0.0
+Conflicts: @pkg_name@ < 3.0.0
 
 %description devel
 xfsprogs-devel contains the libraries and header files needed to

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Nathan Scott

Since binaries have moved between xfsprogs and xfsdump packages in version 3.0.0, we need to fix the dependencies in the rpm specfiles, else rpm will complain.

While in there, remove xfs-cmds Provides/Obsoletes lines, there is no way anyone is ever going to be requiring those anymore (no real-world upgrade path having such old skool SGI-released rpms).

Looks good to me, even without any real uptodate rpm knowledge..

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#2 lore raw
In reply to Nathan Scott
Quoted 7 lines · Nathan Scott

Since binaries have moved between xfsprogs and xfsdump packages in version 3.0.0, we need to fix the dependencies in the rpm specfiles, else rpm will complain.

While in there, remove xfs-cmds Provides/Obsoletes lines, there is no way anyone is ever going to be requiring those anymore (no real-world upgrade path having such old skool SGI-released rpms).

Seems fine to me, though before I update Fedora to the next version I'll probably pass the notion past the true RPM gurus to be sure :)

Quoted 29 lines
build/rpm/xfsprogs.spec.in +3 -5
index 2826a37..cf61225 100644
@@ -5,10 +5,8 @@ Release: @pkg_release@
 Distribution: @pkg_distribution@
 Packager: Silicon Graphics, Inc. <http://www.sgi.com/>
 BuildRoot: @build_root@ 
-Provides: xfs-cmds
-Obsoletes: xfs-cmds
 Prereq: /sbin/ldconfig
-Conflicts: xfsdump < 2.0.0
+Conflicts: xfsdump < 3.0.0
 Source: @pkg_name@-@[email protected]
 License: GPL
 Vendor: Silicon Graphics, Inc.
@@ -32,8 +30,8 @@ with the IRIX version of XFS.
 %package devel
 Summary: XFS filesystem-specific static libraries and headers.
 Group: Development/Libraries
-Requires: @pkg_name@ >= 2.0.0
-Conflicts: @pkg_name@ < 2.0.0
+Requires: @pkg_name@ >= 3.0.0
+Conflicts: @pkg_name@ < 3.0.0
 
 %description devel
 xfsprogs-devel contains the libraries and header files needed to
Quoted 5 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs