#13 spec tune up
Merged 7 years ago by psabata. Opened 7 years ago by msuchy.
https://github.com/xsuchy/modulemd.git master  into  master

tune up spec
Miroslav Suchý • 7 years ago  
LICENSE
file added
+9
@@ -0,0 +1,9 @@

+ The MIT License (MIT)

+ 

+ Copyright (c) 2016  Red Hat, Inc.

+ 

+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

+ 

+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

+ 

+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

package/modulemd.spec
file modified
+9
@@ -6,6 +6,8 @@

  Summary:        Module metadata manipulation library

  License:        MIT

  URL:            https://pagure.io/fm-metadata

+ # there is no upstream tar file, you can build SRPM directly by running:

+ # mock -r fedora-rawhide-x86_64 --scm-enable --scm-option method=git --scm-option package=modulemd --scm-option git_get=set --scm-option spec=package/modulemd.spec    --scm-option branch=master --scm-option write_tar=True --scm-option git_get='git clone https://pagure.io/modulemd.git'

  Source0:        modulemd.tar

  BuildArch:      noarch

  BuildRequires:  python2-devel
@@ -24,6 +26,8 @@

  %description -n python2-%{name}

  %{_pkgdescription}

  

+ This is python2 bindings.

+ 

  %package -n python3-%{name}

  Summary:        %{summary}

  Requires:       python3-PyYAML
@@ -31,6 +35,8 @@

  %description -n python3-%{name}

  %{_pkgdescription}

  

+ This is python3 bindings

+ 

  %package -n modlint

  Summary:        Tool for checking common errors in modulemd files

  Requires:       PyYAML
@@ -56,14 +62,17 @@

  

  %files -n python2-%{name}

  %doc README.rst spec.yaml

+ %license LICENSE

  %{python2_sitelib}/*

  

  %files -n python3-%{name}

  %doc README.rst spec.yaml

+ %license LICENSE

  %{python3_sitelib}/*

  

  %files -n modlint

  %doc README.rst spec.yaml

+ %license LICENSE

  %{_bindir}/modlint

  

  %changelog

no initial comment
  • add how to create tar file
  • add license

Pull-Request has been merged by psabata

7 years ago
Metadata