|
|
@ -1,15 +1,13 @@
|
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
|
|
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
|
|
|
|
|
|
|
|
|
|
|
Name: nodejs-packaging
|
|
|
|
Name: nodejs-packaging
|
|
|
|
Version: 7
|
|
|
|
Version: 8
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: RPM Macros and Utilities for Node.js Packaging
|
|
|
|
Summary: RPM Macros and Utilities for Node.js Packaging
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://fedoraproject.org/wiki/Node.js/Packagers
|
|
|
|
URL: https://fedoraproject.org/wiki/Node.js/Packagers
|
|
|
|
Source0: https://fedorahosted.org/released/%{name}/%{name}-fedora-%{version}.tar.xz
|
|
|
|
Source0: https://fedorahosted.org/released/%{name}/%{name}-fedora-%{version}.tar.xz
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1120868
|
|
|
|
|
|
|
|
Patch0: nodejs-packaging-caret.patch
|
|
|
|
|
|
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
|
|
|
|
|
|
|
|
|
#nodejs-devel before 0.10.12 provided these macros and owned /usr/share/node
|
|
|
|
#nodejs-devel before 0.10.12 provided these macros and owned /usr/share/node
|
|
|
@ -20,13 +18,15 @@ Requires: redhat-rpm-config
|
|
|
|
This package contains RPM macros and other utilities useful for packaging
|
|
|
|
This package contains RPM macros and other utilities useful for packaging
|
|
|
|
Node.js modules and applications in RPM-based distributions.
|
|
|
|
Node.js modules and applications in RPM-based distributions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -qn %{name}-fedora-%{version}
|
|
|
|
%autosetup -p 1 -n %{name}-fedora-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
#nothing to do
|
|
|
|
#nothing to do
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
install -Dpm0644 macros.nodejs %{buildroot}%{macrosdir}/macros.nodejs
|
|
|
|
install -Dpm0644 macros.nodejs %{buildroot}%{macrosdir}/macros.nodejs
|
|
|
|
install -Dpm0644 nodejs.attr %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs.attr
|
|
|
|
install -Dpm0644 nodejs.attr %{buildroot}%{_rpmconfigdir}/fileattrs/nodejs.attr
|
|
|
@ -36,14 +36,21 @@ install -pm0755 nodejs-symlink-deps %{buildroot}%{_rpmconfigdir}/nodejs-symlink-
|
|
|
|
install -pm0755 nodejs-fixdep %{buildroot}%{_rpmconfigdir}/nodejs-fixdep
|
|
|
|
install -pm0755 nodejs-fixdep %{buildroot}%{_rpmconfigdir}/nodejs-fixdep
|
|
|
|
install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules
|
|
|
|
install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
%{macrosdir}/macros.nodejs
|
|
|
|
%{macrosdir}/macros.nodejs
|
|
|
|
%{_rpmconfigdir}/fileattrs/nodejs*.attr
|
|
|
|
%{_rpmconfigdir}/fileattrs/nodejs*.attr
|
|
|
|
%{_rpmconfigdir}/nodejs*
|
|
|
|
%{_rpmconfigdir}/nodejs*
|
|
|
|
%{_datadir}/node/multiver_modules
|
|
|
|
%{_datadir}/node/multiver_modules
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jan 31 2016 Tom Hughes <tom@compton.nu> - 8-1
|
|
|
|
|
|
|
|
- nodejs-fixdep: add --move option
|
|
|
|
|
|
|
|
- nodejs-symlink-deps: add --optional option
|
|
|
|
|
|
|
|
- req: generate suggests for optional dependencies
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 16 2015 Tom Hughes <tom@compton.nu> - 7-5
|
|
|
|
* Mon Nov 16 2015 Tom Hughes <tom@compton.nu> - 7-5
|
|
|
|
- nodejs-symlink-deps: handle caret in versions
|
|
|
|
- nodejs-symlink-deps: handle caret in versions
|
|
|
|
|
|
|
|
|
|
|
|