Initial import (#1858286).
This commit is contained in:
parent
17158de4b8
commit
20993e7dd1
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/marshalparser-0.1.1.tar.gz
|
47
marshalparser.spec
Normal file
47
marshalparser.spec
Normal file
@ -0,0 +1,47 @@
|
||||
Name: marshalparser
|
||||
Version: 0.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Parser for Python internal Marshal format
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/fedora-python/%{name}
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
# For tests on various pyc files
|
||||
BuildRequires: python3.6
|
||||
BuildRequires: python3.7
|
||||
BuildRequires: python3.8
|
||||
BuildRequires: python3.9
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -t
|
||||
|
||||
%description
|
||||
Parser for Python internal Marshal format which can fix pyc files
|
||||
reproducibility.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{name}
|
||||
|
||||
%check
|
||||
%tox
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Jul 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.1-1
|
||||
- Initial package
|
Loading…
Reference in New Issue
Block a user