Skip to content

Commit 79df309

Browse files
authored
Merge pull request Altinity#160 from sunsingerus/master
env: enhance RPM and deb packager
2 parents aa08f2b + 5c5148a commit 79df309

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
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

Lines changed: 8 additions & 0 deletions
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

Lines changed: 13 additions & 2 deletions
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)