Skip to content

Commit

Permalink
Package
Browse files Browse the repository at this point in the history
- Prepare for auto package building
  • Loading branch information
jelu committed Jul 26, 2019
1 parent 62eef9c commit 96763d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .copr/Makefile
@@ -0,0 +1,9 @@
srpm:
dnf -y install git rpm-build
git checkout -b autobuild
git clone https://github.com/jelu/dist-tools.git ../dist-tools
nosign=yes ../dist-tools/create-source-packages rpm
mkdir -p ../rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
cp ../*.orig.tar.gz ../rpmbuild/SOURCES/
rpmbuild -bs --define "%_topdir ../rpmbuild" --undefine=dist "$(spec)"
cp ../rpmbuild/SRPMS/*.src.rpm "$(outdir)"
2 changes: 2 additions & 0 deletions rpm/packetq.spec
Expand Up @@ -6,6 +6,8 @@ Group: Productivity/Networking/DNS/Utilities

License: GPL-3.0
URL: https://github.com/DNS-OARC/PacketQ
# Source needs to be generated by dist-tools/create-source-packages, see
# https://github.com/jelu/dist-tools
Source0: %{name}_%{version}.orig.tar.gz

BuildRequires: zlib-devel
Expand Down

0 comments on commit 96763d8

Please sign in to comment.