Changeset 1518 for spec/trunk/SPECS
- Timestamp:
- Nov 11, 2018, 3:19:36 PM (7 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 2 edited
-
os2-rpm.spec (modified) (4 diffs)
-
os2-rpm/macros.scm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/os2-rpm.spec
r1460 r1518 2 2 Name: os2-rpm 3 3 Version: 1 4 Release: 3%{?dist}4 Release: 4%{?dist} 5 5 License: GPLv2+ 6 6 Group: Development/System … … 29 29 Source8: getbootdrive.cmd 30 30 Source9: wpi4rpm.cmd 31 Source10: macros.scm_pwd 31 32 32 33 # This is necessary due to a silly "Provides: os2-rpm" in os2-rpm-build-0-1 … … 71 72 %{__install} -p -m 644 -t %{buildroot}%{_rpmconfigdir_macros_d} \ 72 73 macros.scm macros.cfg macros.wps 74 %{__mkdir_p} %{buildroot}%{_sysconfdir}/rpm 75 %{__install} -p -m 644 -t %{buildroot}%{_sysconfdir}/rpm macros.scm_pwd 73 76 74 77 # install OS/2 Rexx scripts … … 95 98 %{_rpmconfigdir_os2}/find-legacy-runtime.sh 96 99 %{_rpmconfigdir_macros_d}/macros.scm 100 %config(noreplace) %{_sysconfdir}/rpm/macros.scm_pwd 97 101 98 102 %changelog 103 * Sun Nov 11 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1-4 104 - add the possibility to have password protected github projects 105 99 106 * Mon Aug 20 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1-3 100 107 - copy wpi4rpm also to %{_bindir} ticket #308 -
spec/trunk/SPECS/os2-rpm/macros.scm
r1250 r1518 74 74 %setup -n "%__source_dir_github" -Tc\ 75 75 rm -f "%SOURCE0"\ 76 wget -nv "%{__source_url}/archive/%{__source_rev}.zip" -O "%SOURCE0"\ 76 %global __github_user %{?github_user:--user=%{github_user}}%{?!github_user:}\ 77 %global __github_password %{?github_password:--password=%{github_password}}%{?!github_password:}\ 78 %global __github_token %{?github_token:--header="Authorization: token %{github_token}"}%{?!github_token:}\ 79 wget -nv %__github_user %__github_password %__github_token "%{__source_url}/archive/%{__source_rev}.zip" -O "%SOURCE0"\ 77 80 (cd .. && unzip -qq "%SOURCE0" "%__source_dir_github"/RPMBUILD_SOURCE 2>/dev/null) || :\ 78 81 %__scm_pre_pack\
Note:
See TracChangeset
for help on using the changeset viewer.
