Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Re-autospec to refresh packaging
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
  • Loading branch information
phmccarty authored and clrpackages committed Oct 27, 2020
1 parent e6ec0da commit c8b0f44
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 28 deletions.
2 changes: 2 additions & 0 deletions options.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ no_autostart = false
nodebug = false
# disable stripping binaries
nostrip = false
# configure build also for openmpi
openmpi = false
# optimize build for size over speed
optimize_size = false
# set profile for pgo
Expand Down
16 changes: 8 additions & 8 deletions python-mock.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#
Name : python-mock
Version : 4.0.2
Release : 82
Release : 83
URL : https://files.pythonhosted.org/packages/2e/35/594f501b2a0fb3732c8190ca885dfdf60af72d678cd5fa8169c358717567/mock-4.0.2.tar.gz
Source0 : https://files.pythonhosted.org/packages/2e/35/594f501b2a0fb3732c8190ca885dfdf60af72d678cd5fa8169c358717567/mock-4.0.2.tar.gz
Summary : Mocking and Patching Library for Testing
Summary : Rolling backport of unittest.mock for all Pythons
Group : Development/Tools
License : BSD-2-Clause
Requires: python-mock-license = %{version}-%{release}
Expand All @@ -22,9 +22,10 @@ BuildRequires : twine
BuildRequires : wheel

%description
mock is a library for testing in Python. It allows you to replace parts of
your system under test with mock objects and make assertions about how they
have been used.
have been used.

mock is now part of the Python standard library, available as `unittest.mock

%package license
Summary: license components for the python-mock package.
Expand Down Expand Up @@ -62,15 +63,14 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1583971752
# -Werror is for werrorists
export SOURCE_DATE_EPOCH=1603402228
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=4 "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
82
83
22 changes: 3 additions & 19 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1,42 +1,26 @@
# This file contains recursive sources that require this package
Django
Flask-RESTful
Mako
SQLAlchemy
WebTest
acme
aioeventlet
alembic
amqp
bashate
blockdiag
boto
case
ceph-deploy
certbot
dogpile.cache
fabric
fixtures
flake8-builtins
gsutil
httpretty
jsonschema
keystoneauth1
knack
koji
kombu
locustio
oauthlib
oslotest
pyquery
python-tappy
pyudev
pywbem
requests-mock
responses
retry
spyrk
statsd
sure
swift
test-generator
trollius
tzlocal
vsts-cd-manager

0 comments on commit c8b0f44

Please sign in to comment.