]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added obsoletes 43/head
authorArvin Schnell <aschnell@suse.de>
Thu, 6 Feb 2014 09:10:41 +0000 (10:10 +0100)
committerArvin Schnell <aschnell@suse.de>
Thu, 6 Feb 2014 09:10:41 +0000 (10:10 +0100)
snapper.spec.in

index b6c9c6a64dcc8a98ab2849d4a6c161e1dd6bb4c6..98225fb32713871260026e7875c8822805f32637 100644 (file)
@@ -116,6 +116,8 @@ Requires:       util-linux
 %if 0%{?suse_version}
 PreReq:         %fillup_prereq
 %endif
+# expands to Obsoletes: libsnapper1 libsnapper2 libsnapper3...
+Obsoletes:      %(echo `seq -s " " -f "libsnapper%.f" $((@LIBVERSION_MAJOR@ - 1))`)
 
 %description -n libsnapper@LIBVERSION_MAJOR@
 This package contains libsnapper, a library for filesystem snapshot management.