spec: fix problems with upgrade path

Related: #959917, #960007
Version: 1.5.2-4
This commit is contained in:
Pavel Raiskup 2013-05-24 10:50:31 +02:00
parent b20d3fedbb
commit 969f0b3125
1 changed files with 16 additions and 2 deletions

View File

@ -7,7 +7,7 @@
Summary: An archiving tool with ACL support Summary: An archiving tool with ACL support
Name: star Name: star
Version: 1.5.2 Version: 1.5.2
Release: 4%{?dist} Release: 5%{?dist}
URL: http://cdrecord.berlios.de/old/private/star.html URL: http://cdrecord.berlios.de/old/private/star.html
Source: ftp://ftp.berlios.de/pub/star/%{name}-%{version}.tar.bz2 Source: ftp://ftp.berlios.de/pub/star/%{name}-%{version}.tar.bz2
@ -46,11 +46,21 @@ Group: Applications/Archiving
BuildRequires: libattr-devel libacl-devel libtool libselinux-devel BuildRequires: libattr-devel libacl-devel libtool libselinux-devel
BuildRequires: e2fsprogs-devel BuildRequires: e2fsprogs-devel
# Historically, star installed /usr/bin/spax binary also so we don't want to
# break the compatibility. We don't care about scpio because scpio binary was
# not installed.
Requires: spax
%description %description
Star saves many files together into a single tape or disk archive, Star saves many files together into a single tape or disk archive,
and can restore individual files from the archive. Star supports ACL. and can restore individual files from the archive. Star supports ACL.
%package -n spax %package -n spax
# Temporary! Remove once no problem may occur. We really need to force update
# of older star and pax, when any of them is installed. Its file list
# collisions with 'spax'.
Conflicts: star < 1.5.2-5
Conflicts: pax < 3.4-16
Summary: Portable archive exchange Summary: Portable archive exchange
Group: Applications/Archiving Group: Applications/Archiving
@ -59,6 +69,9 @@ The pax utility shall read and write archives, write lists of the members of
archive files and copy directory hierarchies as is defined in IEEE Std 1003.1. archive files and copy directory hierarchies as is defined in IEEE Std 1003.1.
%package -n scpio %package -n scpio
# Temporary! Remove once _no problem_ may occur. We really need to force
# update of older star if it installed — its files overlaps with scpio.
Conflicts: star < 1.5.2-5
Summary: Copy file archives in and out (LEGACY) Summary: Copy file archives in and out (LEGACY)
Group: Applications/Archiving Group: Applications/Archiving
@ -193,8 +206,9 @@ fi
%ghost %verify(not md5 size mode mtime) %{ALT_SL1_LINK} %ghost %verify(not md5 size mode mtime) %{ALT_SL1_LINK}
%changelog %changelog
* Fri May 24 2013 Pavel Raiskup <praiskup@redhat.com> - 1.5.2-4 * Fri May 24 2013 Pavel Raiskup <praiskup@redhat.com> - 1.5.2-5
- add missing ghost files (#960007) - add missing ghost files (#960007)
- fix the upgrade path, sorry for the noise (#959917, #960007)
* Mon May 06 2013 Pavel Raiskup <praiskup@redhat.com> - 1.5.2-2 * Mon May 06 2013 Pavel Raiskup <praiskup@redhat.com> - 1.5.2-2
- package spax and scpio separately (#959917) - package spax and scpio separately (#959917)