Print

Print


In keeping with my comment https://github.com/xrootd/xrootd/pull/1585#issuecomment-1011206639 on lack of RPM experience, in the CI I have setup on my fork for RPM builds, after the build passes when I try to install the PRM locally so that I can test functionality is correct

```yaml
...

    - name: Build
      run: |
        cd packaging/
        ./makesrpm.sh \
          --define "_with_python3 1" \
          --define "_with_tests 1" \
          --define "_with_xrdclhttp 1" \
          --define "_with_scitokens 1" \
          --define "_with_isal 1"
        yum-builddep --nogpgcheck -y *.src.rpm
        mkdir RPMS
        rpmbuild --rebuild \
          --define "_rpmdir RPMS/" \
          --define "_with_python3 1" \
          --define "_with_tests 1" \
          --define "_with_xrdclhttp 1" \
          --define "_with_scitokens 1" \
          --define "_with_isal 1" \
          --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
          *.src.rpm

    - name: Install
      run: |
        yum localinstall xrootd-*.rpm

...

```

the `yum localinstall` fails with

```
Loaded plugins: changelog, fastestmirror, kernel-module, ovl, protectbase,
              : tsflags, versionlock
Cannot open: xrootd-*.rpm. Skipping.
Nothing to do
```

How should I be installing the build RPM to check it?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1589#issuecomment-1011544220
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1