Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions comps/comps-foreman-el9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
<packagereq type="default">nodejs-theforeman-vendor</packagereq>
<packagereq type="default">nodejs-tslib</packagereq>
<packagereq type="default">nodejs-unleash-proxy-client</packagereq>
<packagereq type="default">nodejs-unleash-proxy-client-react</packagereq>
<packagereq type="default">nodejs-urijs</packagereq>
<packagereq type="default">nodejs-use-deep-compare-effect</packagereq>
<packagereq type="default">nodejs-uuid</packagereq>
Expand Down
1 change: 1 addition & 0 deletions package_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ foreman_nodejs_packages:
name: "@theforeman/vendor"
nodejs-tslib: {}
nodejs-unleash-proxy-client: {}
nodejs-unleash-proxy-client-react: {}
nodejs-urijs: {}
nodejs-use-deep-compare-effect: {}
nodejs-uuid: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
%{?scl:%scl_package nodejs-%{npm_name}}
%{!?scl:%global pkg_name %{name}}

%global npm_name @unleash/proxy-client-react

Name: %{?scl_prefix}nodejs-unleash-proxy-client-react
Version: 5.0.0
Release: 1%{?dist}
Summary: React interface for working with unleash
License: Apache-2.0
Group: Development/Libraries
URL: https://github.com/Unleash/unleash-proxy-react#readme
Source0: https://registry.npmjs.org/@unleash/proxy-client-react/-/proxy-client-react-%{version}.tgz
%if 0%{?!scl:1}
BuildRequires: nodejs-packaging
%endif
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
Provides: %{?scl_prefix}npm(%{npm_name}) = %{version}

%description
%{summary}

%prep
%setup -q -n package

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr dist %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}


%files
%{nodejs_sitelib}/%{npm_name}
%doc LICENCE.txt
%doc README.md

%changelog
* Wed Jul 09 2025 root <root> 5.0.0-1
- Add nodejs-unleash-proxy-client-react generated by npm2rpm using the single strategy