Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 943717 Details for
Bug 1149196
pretrans scriptlet must be in lua
[?]
New
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.rh83 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]
lua pretrans
npm.patch (text/plain), 1.10 KB, created by
Marcela Mašláňová
on 2014-10-03 13:25:04 UTC
(
hide
)
Description:
lua pretrans
Filename:
MIME Type:
Creator:
Marcela Mašláňová
Created:
2014-10-03 13:25:04 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/npm.spec b/npm.spec >index 6c2d934..3676bb9 100644 >--- a/npm.spec >+++ b/npm.spec >@@ -5,7 +5,7 @@ > > Name: %{?scl_prefix}npm > Version: 1.3.24 >-Release: 5%{?dist} >+Release: 5.1%{?dist} > Summary: Node.js Package Manager > License: Artistic 2.0 > Group: Development/Tools >@@ -71,9 +71,12 @@ ln -sf %{_defaultdocdir}/%{name}-%{version}/man %{buildroot}%{nodejs_sitelib}/np > #%%__nodejs test/run.js > #%%tap test/tap/*.js > >-%pretrans >-[ -d %{nodejs_sitelib}/npm/man ] && ! [ -L %{nodejs_sitelib}/npm/man ] && \ >-rm -rf %{nodejs_sitelib}/npm/man || : >+%pretrans -p lua >+require 'posix' >+require 'os' >+if (posix.stat("%{nodejs_sitelib}/npm/man", "type") == "directory") and (posix.stat("%{nodejs_sitelib}/npm/man", "type") != "link") then >+ posix.rmdir("%{nodejs_sitelib}/npm/man") >+end > > %clean > rm -rf %{buildroot} >@@ -88,6 +91,8 @@ rm -rf %{buildroot} > %doc AUTHORS man doc html README.md LICENSE > > %changelog >+* Fri Oct 2 2014 Marcela MaÅ¡láÅová <mmaslano@redhat.com> - 1.3.24-5.1 >+ > * Fri May 02 2014 Tomas Hrcka <thrcka@redhat.com> - 1.3.24-5 > - Add %pretrans scriptlet RHBZ #1092162 >
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 1149196
: 943717