14
0

- Run the spec-cleaner

initial OBS build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-barcode?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-04-03 08:09:08 +00:00
committed by Git OBS Bridge
parent 9c82c0b6db
commit 699fcfee0c
3 changed files with 15 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
<services>
<service name="download_files" mode="localonly" /></services>

View File

@@ -1,5 +1,10 @@
-------------------------------------------------------------------
Wed Apr 3 08:08:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Run the spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 25 16:28:57 UTC 2019 - Axel Braun <axel.braun@gmx.de> Mon Mar 25 16:28:57 UTC 2019 - Axel Braun <axel.braun@gmx.de>
- Verion 0.9 of python-barcode (fork of pyBarcode) - Verion 0.9 of python-barcode (fork of pyBarcode)
initial OBS build initial OBS build

View File

@@ -19,37 +19,32 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%define base_name python-barcode %define base_name python-barcode
Name: python-%{base_name} Name: python-%{base_name}
Version: 0.9.0
Release: 0
Summary: Library to create Barcodes with Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/WhyNotHugo/python-barcode
Source: https://files.pythonhosted.org/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
BuildRequires: %{python_module Pillow} BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pathlib}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Version: 0.9.0
Release: 0
Source: https://files.pythonhosted.org/packages/source/p/%{base_name}/%{base_name}-%{version}.tar.gz
Url: https://github.com/WhyNotHugo/%{base_name}
Summary: Library to create Barcodes with Python
License: MIT
Group: Development/Languages/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
Library to create standard barcodes with Python. No external modules needed (optional PIL support included). Library to create standard barcodes with Python. No external modules needed (optional PIL support included).
%prep %prep
%setup -q -n %{base_name}-%{version} %setup -q -n %{base_name}-%{version}
#remove unneeded files
##/usr/bin/rm doc/make.bat
##/usr/bin/rm doc/Makefile
%build %build
%python_build %python_build
%install %install
%python_install %python_install
@@ -61,7 +56,6 @@ Library to create standard barcodes with Python. No external modules needed (opt
%files %{python_files} %files %{python_files}
%doc docs/* %doc docs/*
%license LICENCE %license LICENCE
%defattr(-,root,root)
%{python_sitelib}/* %{python_sitelib}/*
%python3_only %{_bindir}/python-barcode %python3_only %{_bindir}/python-barcode