Skip to content

Commit 7f53754

Browse files
committed
rpm: Add README for RPM specs
Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 5006f6a commit 7f53754

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

rpm/README.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
==============
2+
RPM spec files
3+
==============
4+
5+
Spec files for building an RPM for ``git-pw``. These should follow the Fedora
6+
Python Packaging Guidelines, found `here`__.
7+
8+
These are published on `copr`__. You can build the RPM yourself using the
9+
following commands:
10+
11+
.. code-block:: bash
12+
13+
$ copr build $USER/$PROJECT rpm/git-pw.spec
14+
15+
where ``$USER/$PROJECT`` refers to a project you've created on copr. If you
16+
haven't created one already, you can do like so:
17+
18+
.. code-block:: bash
19+
20+
$ copr create $PROJECT
21+
22+
.. note::
23+
24+
The source code is pulled from PyPI, thus, local builds will only reflect
25+
changes to the spec file - not the source itself. If you wish to also
26+
reflect these changes, you need to update the value of ``Source0`` in the
27+
spec file.
28+
29+
More information can be found in the `copr docs`__.
30+
31+
.. __: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
32+
.. __: https://copr.fedorainfracloud.org/coprs/stephenfin/git-pw/
33+
.. __: https://docs.pagure.org/copr.copr/user_documentation.html

0 commit comments

Comments
 (0)