Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 744150 Details for
Bug 960007
Make the spax to be pax alternative
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add update-alternatives.
0001-spax-incorporate-update-alternatives-for-pax.patch (text/plain), 2.50 KB, created by
Pavel Raiskup
on 2013-05-06 13:49:47 UTC
(
hide
)
Description:
Add update-alternatives.
Filename:
MIME Type:
Creator:
Pavel Raiskup
Created:
2013-05-06 13:49:47 UTC
Size:
2.50 KB
patch
obsolete
>From b86011d975ca4a7bb448549c73cec44b2b8e3e72 Mon Sep 17 00:00:00 2001 >From: Pavel Raiskup <praiskup@redhat.com> >Date: Mon, 6 May 2013 15:43:16 +0200 >Subject: [PATCH] spax: incorporate update-alternatives for pax > >Version: 1.5.2-2 >Resolves: #960007 >--- > star.spec | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > >diff --git a/star.spec b/star.spec >index bcf5359..38206f7 100644 >--- a/star.spec >+++ b/star.spec >@@ -1,6 +1,9 @@ > %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1} > %global WITH_SELINUX 1 > %endif >+ >+%global ALTERNATIVES %{_sbindir}/alternatives >+ > Summary: An archiving tool with ACL support > Name: star > Version: 1.5.2 >@@ -35,6 +38,9 @@ Patch8: star-1.5.2-man-page-day.patch > # ~> #926571 > Patch9: star-1.5.2-aarch64-config.patch > >+Requires(post): %{ALTERNATIVES} >+Requires(preun): %{ALTERNATIVES} >+ > License: CDDL > Group: Applications/Archiving > BuildRequires: libattr-devel libacl-devel libtool libselinux-devel >@@ -61,6 +67,16 @@ The scpio utility, depending on the options used: copies files to an archive > file, extracts files from an archive file, lists files from an archive file or > copies files from one directory tree to another. > >+# "desired" alternative constants >+%global ALT_NAME pax >+%global ALT_LINK %{_bindir}/pax >+%global ALT_SL1_NAME pax-man >+%global ALT_SL1_LINK %{_mandir}/man1/pax.1.gz >+ >+# "local" alternative constants ("opax" - OpenBSD pax) >+%global ALT_PATH %{_bindir}/spax >+%global ALT_SL1_PATH %{_mandir}/man1/spax.1.gz >+ > %prep > %setup -q > %patch1 -p1 -b .newMake >@@ -145,6 +161,17 @@ ln -s star.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/ustar.1 > > %global general_docs README AN* COPYING CDDL.Schily.txt TODO README.linux > >+%post -n spax >+%{ALTERNATIVES} \ >+ --install %{ALT_LINK} %{ALT_NAME} %{ALT_PATH} 66 \ >+ --slave %{ALT_SL1_LINK} %{ALT_SL1_NAME} %{ALT_SL1_PATH} >+ >+%preun -n spax >+if [ $1 -eq 0 ]; then >+ # only on pure uninstall (not upgrade) >+ %{ALTERNATIVES} --remove %{ALT_NAME} %{ALT_PATH} >+fi >+ > %files > %doc %{general_docs} > %{_bindir}/star >@@ -167,6 +194,7 @@ ln -s star.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/ustar.1 > * Mon May 06 2013 Pavel Raiskup <praiskup@redhat.com> - 1.5.2-2 > - package spax and scpio separately (#959917) > - fedora-review fixes, unapplied patch >+- make the spax to be pax alternative (#960007) > > * Wed Apr 10 2013 Pavel Raiskup <praiskup@redhat.com> - 1.5.2-1 > - rebase to most up2date upstream tarball, remove patches already upstream, fix >-- >1.8.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 960007
: 744150