How to install script in /env/profiles.d/ directory

Hello,

I have a script to set some environment variables. How can I put it into /env/profiles.d directory (with spec file)?

thx

Do you mean /etc/profile.d?

In %files section

%config(noreplace) %{_sysconfdir}/profile.d/<your_script>

Hello,
…think I need more help. All trying gone to error (this simple project are bad).

No way right…

No problem.
I will inspect your package tomorrow.