Skip to content

Commit

Permalink
Merge pull request #2 from redhatrises/fixes
Browse files Browse the repository at this point in the history
Fix spec file and add gitignore
  • Loading branch information
redhatrises committed Apr 11, 2022
2 parents 3291959 + bb563b8 commit 365bbe7
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 51 deletions.
129 changes: 129 additions & 0 deletions .gitignore
@@ -0,0 +1,129 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
54 changes: 3 additions & 51 deletions classification-banner.spec
@@ -1,11 +1,11 @@
Name: classification-banner
Version: 1.7.1
Release: 14.20220409223256181383.py3_egg_Test.22.gd2eb664%{?dist}
Release: 1%{?dist}
Summary: Displays Classification Banner for a Graphical Session

License: GPLv2+
URL: https://github.com/SecurityCentral/classification-banner
Source0: classification-banner-1.7.1.tar.gz
Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz

BuildArch: noarch
BuildRequires: python3-setuptools
Expand All @@ -28,7 +28,7 @@ session. The script has been tested on a variety of graphical
environments such as GNOME2, GNOME3, KDE, twm, icewm, and Cinnamon.

%prep
%autosetup -n classification-banner-1.7.1
%autosetup -n %{name}-%{version}

%build
%py3_build
Expand Down Expand Up @@ -63,51 +63,3 @@ export DISPLAY=":0.0"
%{_datadir}/%{name}/%{name}-screenshot.png

%changelog
* Sat Apr 09 2022 Gabe <redhatrises@gmail.com> - 1.7.1-14.20220409223256181383.py3_egg_Test.22.gd2eb664
- Fix egg-info dir (Gabe)
- Fix SPEC name (Gabe)
- Add packit config (Gabe)
- Update tar handling (Gabe)
- Add release action (Gabe)
- Use GH action linting badge in readme (Gabe)
- Remove Travis CI (Gabe)
- More pylint fixes (Gabe)
- Python linting fixes and configuration (Gabe)
- Add flake8 and pylint config (Gabe)
- Update deprecated python3-isms (Gabe)
- Add python linting (Gabe)
- Add rpm spec file (Gabe)

* Sat Apr 09 2022 Gabe <redhatrises@gmail.com> - 1.7.1-14.20220409223219944840.py3_egg_Test.22.gd2eb664
- Fix egg-info dir (Gabe)
- Fix SPEC name (Gabe)
- Add packit config (Gabe)
- Update tar handling (Gabe)
- Add release action (Gabe)
- Use GH action linting badge in readme (Gabe)
- Remove Travis CI (Gabe)
- More pylint fixes (Gabe)
- Python linting fixes and configuration (Gabe)
- Add flake8 and pylint config (Gabe)
- Update deprecated python3-isms (Gabe)
- Add python linting (Gabe)
- Add rpm spec file (Gabe)

* Sat Apr 09 2022 Gabe <redhatrises@gmail.com> - 1.7.1-14.20220409223031295745.py3_egg_Test.22.gd2eb664
- Fix egg-info dir (Gabe)
- Fix SPEC name (Gabe)
- Add packit config (Gabe)
- Update tar handling (Gabe)
- Add release action (Gabe)
- Use GH action linting badge in readme (Gabe)
- Remove Travis CI (Gabe)
- More pylint fixes (Gabe)
- Python linting fixes and configuration (Gabe)
- Add flake8 and pylint config (Gabe)
- Update deprecated python3-isms (Gabe)
- Add python linting (Gabe)
- Add rpm spec file (Gabe)

* Sat Apr 09 2022 Gabe <redhatrises@gmail.com> - 1.7.0-14.20220409163004025426.py3_egg_Test
- Development snapshot (d2eb664e)

0 comments on commit 365bbe7

Please sign in to comment.