14
14
%endif
15
15
16
16
Name: mirrormanager2
17
- Version: 0.8.4
17
+ Version: 0.9.0
18
18
Release: 1%{?dist }
19
19
Summary: Mirror management application
20
20
@@ -297,7 +297,7 @@ install -m 0644 utility/country_continent.csv \
297
297
298
298
# Fix the shebang for various scripts
299
299
sed -e "s|#!/usr/bin/env python|#!%{__python}|" -i \
300
- $RPM_BUILD_ROOT/%{_bindir }/*
300
+ $RPM_BUILD_ROOT/%{_bindir }/* \
301
301
$RPM_BUILD_ROOT/%{_datadir }/mirrormanager2/*.py \
302
302
$RPM_BUILD_ROOT/%{python_sitelib }/mirrormanager2/lib/umdl.py
303
303
@@ -336,10 +336,8 @@ exit 0
336
336
%systemd_postun_with_restart mirrorlist-server.service
337
337
338
338
%check
339
- # One day we will have unit-tests to run here
340
-
341
- # And that is starting today ;)
342
- MM2_SKIP_NETWORK_TESTS= 1 ./runtests.sh -d -v
339
+ # Exclude test_ui_app.py as it requires network connectivity
340
+ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -v
343
341
344
342
%files
345
343
%doc README.rst doc/
@@ -349,13 +347,16 @@ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
349
347
%dir %{_sysconfdir }/mirrormanager/
350
348
%dir %{python_sitelib }/%{name }/
351
349
%if ! (0%{?rhel } && 0%{?rhel } <= 7)
352
- %dir %{python_sitelib }/__pycache__
350
+ %dir %{python_sitelib }/%{ name }/ __pycache__
353
351
%endif
354
352
355
353
%{_sysconfdir }/mirrormanager/alembic.ini
356
354
357
355
%{_datadir }/mirrormanager2/mirrormanager2.wsgi
358
356
%{_datadir }/mirrormanager2/mirrormanager2_createdb.py*
357
+ %if ! (0%{?rhel } && 0%{?rhel } <= 7)
358
+ %{_datadir }/mirrormanager2/__pycache__/mirrormanager2_createdb.*.py*
359
+ %endif
359
360
%{_datadir }/mirrormanager2/alembic/
360
361
361
362
%{python_sitelib }/%{name }/*.py*
@@ -380,7 +381,6 @@ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
380
381
%{python_sitelib }/%{name }/__init__.py*
381
382
%if ! (0%{? rhel} && 0%{? rhel} < = 7)
382
383
%{python_sitelib }/%{name }/__pycache__/__init__.* .py*
383
- %{python_sitelib }/%{name }/lib/__pycache__/
384
384
%endif
385
385
386
386
@@ -440,6 +440,31 @@ MM2_SKIP_NETWORK_TESTS=1 ./runtests.sh -d -v
440
440
%{_bindir }/mirrorlist_statistics
441
441
442
442
%changelog
443
+ *
Tue Jan 15 2019 Adrian Reber <[email protected] > -
0.9.0-1
444
+ - Update to 0.9.0
445
+ - crawler: Correctly calculate the remaining time
446
+ https://github.com/fedora-infra/mirrormanager2/pull/244
447
+ - repomap: more modular repository detection logic
448
+ https://github.com/fedora-infra/mirrormanager2/pull/243
449
+ - crawler: correctly handle keep-alive for HTTPS
450
+ https://github.com/fedora-infra/mirrormanager2/pull/245
451
+ - crawler: only update directories of the current category
452
+ https://github.com/fedora-infra/mirrormanager2/pull/250
453
+ - python3 compatibility
454
+ https://github.com/fedora-infra/mirrormanager2/pull/185
455
+ - rpmmd: switch from yum.repoMDObject pyrpmmd
456
+ https://github.com/fedora-infra/mirrormanager2/pull/254
457
+ - Migrate to new geoip API
458
+ https://github.com/fedora-infra/mirrormanager2/pull/253
459
+ - Use InputRequired() instead of Required()
460
+ https://github.com/fedora-infra/mirrormanager2/pull/256
461
+ - Enable MirrorManager2 to be built using Python 3 for Fedora
462
+ https://github.com/fedora-infra/mirrormanager2/pull/260
463
+ - Fix tests with python3
464
+ https://github.com/fedora-infra/mirrormanager2/pull/261
465
+ - Toggle private
466
+ https://github.com/fedora-infra/mirrormanager2/pull/257
467
+
443
468
*
Sun Mar 04 2018 Adrian Reber <[email protected] > -
0.8.4-1
444
469
- Update to 0.8.4
445
470
- Sync with Fedora's specfile
0 commit comments