Skip to content

Commit d4933d8

Browse files
committed
env: enhance RPM and deb packager
1 parent 54830b3 commit d4933d8

5 files changed

+23
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
*.egg
55
*.egg-info
66
dist
7+
sdist
8+
deb_dist
79
build
810
eggs
911
parts
1012
bin
1113
var
12-
sdist
1314
develop-eggs
1415
.installed.cfg
1516

package_deb_distr.sh renamed to package_distr_deb.sh

+8
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@ echo "##########################"
88

99
python3 setup.py --command-packages=stdeb.command bdist_deb
1010

11+
echo ""
12+
echo ""
13+
echo ""
14+
echo "############################"
15+
echo "### Results - .deb files ###"
16+
echo "############################"
17+
ls -la ./deb_dist/*.deb
18+
1119
# pypi stdeb
1220
# apt install python3-all python3-stdeb

package_rpm_distr.sh renamed to package_distr_rpm.sh

+13-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22

33
./package_clear_old.sh
44

5+
echo "##########################"
6+
echo "### Build RPM packages ###"
7+
echo "##########################"
8+
59
python3 setup.py bdist_rpm --packager="Vladislav Klimenko <[email protected]>"
610
# --spec-only
711

8-
# ls -l ./build/bdist.linux-x86_64/rpm/SPECS/
9-
# ls -l ./dist/
12+
echo ""
13+
echo ""
14+
echo ""
15+
echo "######################################"
16+
echo "### Results - .spec and .rpm files ###"
17+
echo "######################################"
18+
ls -la ./build/bdist.linux-x86_64/rpm/SPECS/*.spec
19+
ls -la ./dist/*.rpm
20+
1021
# build RPMs with
1122
# rpmbuild -ba ./build/bdist.linux-x86_64/rpm/SPECS/clickhouse-mysql.spec
1223

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)