a21e3e2
@@ -1,15 +1,15 @@
git pull --rebase
Do the changes, commit
Test with
- python rpmfluff.py
- python3 rpmfluff.py
+ python rpmfluff/__init__.py
+ python3 rpmfluff/__init__.py
git push
Change version in python-rpmfluff.spec
git commit -am "New version"
git tag "<version>"
git push && git push --tags
mkdir "rpmfluff-<version>"
- cp LICENSE python-rpmfluff.spec README.md README-releng rpmfluff.py setup.py "rpmfluff-<version>/"
+ cp -a LICENSE python-rpmfluff.spec README.md README-releng rpmfluff setup.py "rpmfluff-<version>/"
tar -cJf "rpmfluff-<version>.tar.xz" "rpmfluff-<version>/"
Upload release to https://pagure.io/rpmfluff/upload
Edit README.md to announce new version, commit, push
@@ -45,15 +45,13 @@
%py3_install
%check
- python3 %{modname}.py
+ python3 %{modname}/__init__.py
%files -n python3-%{modname}
%license LICENSE
%doc README.md
- %{python3_sitelib}/%{modname}.py
- %{python3_sitelib}/__pycache__/%{modname}.*
- %{python3_sitelib}/%{modname}-*.egg-info
+ %{python3_sitelib}/*
%changelog
* Sat May 11 2019 Jan Hutar <jhutar@redhat.com> - 0.5.7.1-1
@@ -29,6 +29,7 @@
url = "https://pagure.io/rpmfluff",
license = "GPL-2.0+",
py_modules = ["rpmfluff"],
+ packages = ["rpmfluff"],
description = SHORT_DESC,
long_description = LONG_DESC
)
This will allow me to split the big file into several smallers later.
Pull-Request has been merged by jhutar
Thank you!
This will allow me to split the big file into several smallers later.