Simplify desc content and change Release to 2

This commit is contained in:
tomtao 2020-09-04 14:51:41 +08:00 committed by Gitee
parent c40641a717
commit 7b89aa75b6

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-portalocker
Version: 2.0.0
Release: 1
Release: 2
Summary: Wraps the portalocker recipe for easy usage
License: PSF
URL: https://github.com/WoLpH/portalocker
@ -11,16 +11,6 @@ BuildArch: noarch
%description
Portalocker is a library to provide an easy API to file locking.
An important detail to note is that on Linux and Unix systems the locks are
advisory by default. By specifying the `-o mand` option to the mount command it
is possible to enable mandatory file locking on Linux. This is generally not
recommended however. For more information about the subject:
- https://en.wikipedia.org/wiki/File_locking
- http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
- https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux
The module is currently maintained by Rick van Hattem <Wolph@wol.ph>.
The project resides at https://github.com/WoLpH/portalocker . Bugs and feature
requests can be submitted there. Patches are also very welcome.
%package -n python3-portalocker
Summary: Wraps the portalocker recipe for easy usage
@ -29,32 +19,12 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-portalocker
Portalocker is a library to provide an easy API to file locking.
An important detail to note is that on Linux and Unix systems the locks are
advisory by default. By specifying the `-o mand` option to the mount command it
is possible to enable mandatory file locking on Linux. This is generally not
recommended however. For more information about the subject:
- https://en.wikipedia.org/wiki/File_locking
- http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
- https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux
The module is currently maintained by Rick van Hattem <Wolph@wol.ph>.
The project resides at https://github.com/WoLpH/portalocker . Bugs and feature
requests can be submitted there. Patches are also very welcome.
%package help
Summary: Development documents and examples for portalocker
Provides: python3-portalocker-doc
%description help
Portalocker is a library to provide an easy API to file locking.
An important detail to note is that on Linux and Unix systems the locks are
advisory by default. By specifying the `-o mand` option to the mount command it
is possible to enable mandatory file locking on Linux. This is generally not
recommended however. For more information about the subject:
- https://en.wikipedia.org/wiki/File_locking
- http://stackoverflow.com/questions/39292051/portalocker-does-not-seem-to-lock
- https://stackoverflow.com/questions/12062466/mandatory-file-lock-on-linux
The module is currently maintained by Rick van Hattem <Wolph@wol.ph>.
The project resides at https://github.com/WoLpH/portalocker . Bugs and feature
requests can be submitted there. Patches are also very welcome.
%prep
%autosetup -n portalocker-2.0.0
@ -97,5 +67,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Fri Sep 04 2020 Python_Bot <Python_Bot@openeuler.org>
- Simplify desc content and change Release to 2
* Fri Sep 04 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated