1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
|
# remirepo spec file for php-doctrine-orm, from
#
# Fedora spec file for php-doctrine-orm
#
# Copyright (c) 2013-2022 Shawn Iwinski <shawn.iwinski@gmail.com>
# Remi Collet <remi@fedoraproject.org>
#
# License: MIT
# http://opensource.org/licenses/MIT
#
# Please preserve changelog entries
#
%global github_owner doctrine
%global github_name orm
%global github_version 2.13.1
%global github_commit 35c44a56677adb3ce796138b6e4934ce93ec6811
%global composer_vendor doctrine
%global composer_project orm
# "php": "^7.1 || ^8.0"
%global php_min_ver 7.1
# "doctrine/annotations": "^1.13",
%global annotations_min_ver 1.13
%global annotations_max_ver 2
# "doctrine/cache": "^1.12.1 || ^2.1.1"
%global cache_min_ver 1.12.1
%global cache_max_ver 3
# "doctrine/collections": "^1.5"
%global collections_min_ver 1.5
%global collections_max_ver 2
# "doctrine/common": "^3.0.3"
%global common_min_ver 3.0.3
%global common_max_ver 4
# "doctrine/dbal": "^2.13.1 || ^3.2"
%global dbal_min_ver 2.13.1
%global dbal_max_ver 4
# "doctrine/deprecations": "^0.5.3 || ^1"
%global deprecations_min_ver 0.5.3
%global deprecations_max_ver 2
# "doctrine/inflector": "^1.4 || ^2.0"
%global inflector_min_ver 1.4
%global inflector_max_ver 3
# "doctrine/instantiator": "^1.3"
%global instantiator_min_ver 1.3
%global instantiator_max_ver 2
# "doctrine/lexer": "^1.2.3"
%global lexer_min_ver 1.2.3
%global lexer_max_ver 2
# "doctrine/persistence": "^2.4 || ^3"
%global persistence_min_ver 2.4
%global persistence_max_ver 4
# "doctrine/event-manager": "^1.1"
%global event_min_ver 1.1
%global event_max_ver 2
# "symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0"
# "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0"
%global symfony_min_ver 3.4
%global symfony_max_ver 7
# "symfony/cache": "^4.4 || ^5.4 || ^6.0",
%global sym_cache_min_ver 4.4
%global sym_cache_max_ver 7
# "symfony/polyfill-php72": "^1.23",
# "symfony/polyfill-php80": "^1.16"
%global sym_poly_min_ver 1.23
%global sym_poly_max_ver 2
# "psr/cache": "^1 || ^2 || ^3",
%global psr_cache_min_ver 1
%global psr_cache_max_ver 4
# "psr/log": "^1 || ^2 || ^3",
%global psr_log_min_ver 1
%global psr_log_max_ver 4
%{!?phpdir: %global phpdir %{_datadir}/php}
# Build using "--without tests" to disable tests
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
Release: 1%{?dist}
Summary: Doctrine Object-Relational-Mapper (ORM)
License: MIT
URL: https://www.doctrine-project.org/projects/orm.html
# Run "php-doctrine-orm-get-source.sh" to create source
Source0: %{name}-%{version}-%{github_commit}.tar.gz
Source1: %{name}-get-source.sh
# Update bin script:
# 1) Add she-bang
# 2) Auto-load using Doctrine\Common\ClassLoader
Patch0: %{name}-bin.patch
# get rid of composer/package-versions-deprecated
Patch1: %{name}-version.patch
BuildArch: noarch
# Tests
%if %{with_tests}
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(doctrine/annotations) >= %{annotations_min_ver} with php-composer(doctrine/annotations) < %{annotations_max_ver})
BuildRequires: (php-composer(doctrine/cache) >= %{cache_min_ver} with php-composer(doctrine/cache) < %{cache_max_ver})
BuildRequires: (php-composer(doctrine/collections) >= %{collections_min_ver} with php-composer(doctrine/collections) < %{collections_max_ver})
BuildRequires: (php-composer(doctrine/common) >= %{common_min_ver} with php-composer(doctrine/common) < %{common_max_ver})
BuildRequires: (php-composer(doctrine/dbal) >= %{dbal_min_ver} with php-composer(doctrine/dbal) < %{dbal_max_ver})
BuildRequires: (php-composer(doctrine/deprecations) >= %{deprecations_min_ver} with php-composer(doctrine/deprecations) < %{deprecations_max_ver})
BuildRequires: (php-composer(doctrine/inflector) >= %{inflector_min_ver} with php-composer(doctrine/inflector) < %{inflector_max_ver})
BuildRequires: (php-composer(doctrine/instantiator) >= %{instantiator_min_ver} with php-composer(doctrine/instantiator) < %{instantiator_max_ver})
BuildRequires: (php-composer(doctrine/event-manager) >= %{event_min_ver} with php-composer(doctrine/event-manager) < %{event_max_ver})
BuildRequires: (php-composer(doctrine/lexer) >= %{lexer_min_ver} with php-composer(doctrine/lexer) < %{lexer_max_ver})
BuildRequires: (php-composer(doctrine/persistence) >= %{persistence_min_ver} with php-composer(doctrine/persistence) < %{persistence_max_ver})
BuildRequires: (php-composer(symfony/console) >= %{symfony_min_ver} with php-composer(symfony/console) < %{symfony_max_ver})
BuildRequires: (php-composer(symfony/yaml) >= %{symfony_min_ver} with php-composer(symfony/yaml) < %{symfony_max_ver})
BuildRequires: (php-composer(symfony/cache) >= %{sym_cache_min_ver} with php-composer(symfony/cache) < %{sym_cache_max_ver})
BuildRequires: (php-composer(symfony/polyfill-php80) >= %{sym_poly_min_ver} with php-composer(symfony/polyfill-php80) < %{sym_poly_max_ver})
BuildRequires: (php-composer(psr/cache) >= %{psr_cache_min_ver} with php-composer(psr/cache) < %{psr_cache_max_ver})
BuildRequires: (php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
# remirepo:34
%else
BuildRequires: php-doctrine-annotations >= %{annotations_min_ver}
BuildRequires: php-composer(doctrine/cache) < %{cache_max_ver}
BuildRequires: php-composer(doctrine/cache) >= %{cache_min_ver}
BuildRequires: php-composer(doctrine/collections) < %{collections_max_ver}
BuildRequires: php-composer(doctrine/collections) >= %{collections_min_ver}
BuildRequires: php-composer(doctrine/common) < %{common_max_ver}
BuildRequires: php-composer(doctrine/common) >= %{common_min_ver}
BuildRequires: php-doctrine-dbal >= %{dbal_min_ver}
BuildRequires: php-composer(doctrine/deprecations) < %{deprecations_max_ver}
BuildRequires: php-composer(doctrine/deprecations) >= %{deprecations_min_ver}
BuildRequires: php-composer(doctrine/inflector) < %{inflector_max_ver}
BuildRequires: php-composer(doctrine/inflector) >= %{inflector_min_ver}
BuildRequires: php-composer(doctrine/instantiator) < %{instantiator_max_ver}
BuildRequires: php-composer(doctrine/instantiator) >= %{instantiator_min_ver}
BuildRequires: php-composer(doctrine/event-manager) < %{event_max_ver}
BuildRequires: php-composer(doctrine/event-manager) >= %{event_min_ver}
BuildRequires: php-composer(doctrine/lexer) < %{lexer_max_ver}
BuildRequires: php-composer(doctrine/lexer) >= %{lexer_min_ver}
BuildRequires: php-composer(doctrine/persistence) < %{persistence_max_ver}
BuildRequires: php-composer(doctrine/persistence) >= %{persistence_min_ver}
BuildRequires: php-composer(symfony/console) < %{symfony_max_ver}
BuildRequires: php-composer(symfony/console) >= %{symfony_min_ver}
BuildRequires: php-composer(symfony/yaml) < %{symfony_max_ver}
BuildRequires: php-composer(symfony/yaml) >= %{symfony_min_ver}
BuildRequires: php-composer(symfony/cache) < %{sym_cache_max_ver}
BuildRequires: php-composer(symfony/cache) >= %{sym_cache_min_ver}
BuildRequires: php-composer(symfony/polyfill-php80) < %{sym_poly_max_ver}
BuildRequires: php-composer(symfony/polyfill-php80) >= %{sym_poly_min_ver}
BuildRequires: php-composer(psr/cache) < %{psr_cache_max_ver}
BuildRequires: php-composer(psr/cache) >= %{psr_cache_min_ver}
BuildRequires: php-composer(psr/log) < %{psr_log_max_ver}
BuildRequires: php-composer(psr/log) >= %{psr_log_min_ver}
%endif
%global phpunit %{_bindir}/phpunit9
BuildRequires: phpunit9 >= 9.5
BuildRequires: php-pdo
# phpcompatinfo (computed from version 2.5.11)
BuildRequires: php-ctype
BuildRequires: php-date
BuildRequires: php-dom
BuildRequires: php-json
BuildRequires: php-pcre
BuildRequires: php-reflection
BuildRequires: php-simplexml
BuildRequires: php-spl
BuildRequires: php-tokenizer
## Autoloader
BuildRequires: php-composer(fedora/autoloader)
%endif
# composer.json
Requires: php(language) >= %{php_min_ver}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(doctrine/annotations) >= %{annotations_min_ver} with php-composer(doctrine/annotations) < %{annotations_max_ver})
Requires: (php-composer(doctrine/cache) >= %{cache_min_ver} with php-composer(doctrine/cache) < %{cache_max_ver})
Requires: (php-composer(doctrine/collections) >= %{collections_min_ver} with php-composer(doctrine/collections) < %{collections_max_ver})
Requires: (php-composer(doctrine/common) >= %{common_min_ver} with php-composer(doctrine/common) < %{common_max_ver})
Requires: (php-composer(doctrine/dbal) >= %{dbal_min_ver} with php-composer(doctrine/dbal) < %{dbal_max_ver})
Requires: (php-composer(doctrine/deprecations) >= %{deprecations_min_ver} with php-composer(doctrine/deprecations) < %{deprecations_max_ver})
Requires: (php-composer(doctrine/inflector) >= %{inflector_min_ver} with php-composer(doctrine/inflector) < %{inflector_max_ver})
Requires: (php-composer(doctrine/instantiator) >= %{instantiator_min_ver} with php-composer(doctrine/instantiator) < %{instantiator_max_ver})
Requires: (php-composer(doctrine/event-manager) >= %{event_min_ver} with php-composer(doctrine/event-manager) < %{event_max_ver})
Requires: (php-composer(doctrine/lexer) >= %{lexer_min_ver} with php-composer(doctrine/lexer) < %{lexer_max_ver})
Requires: (php-composer(doctrine/persistence) >= %{persistence_min_ver} with php-composer(doctrine/persistence) < %{persistence_max_ver})
Requires: (php-composer(symfony/console) >= %{symfony_min_ver} with php-composer(symfony/console) < %{symfony_max_ver})
Requires: (php-composer(symfony/polyfill-php80) >= %{sym_poly_min_ver} with php-composer(symfony/polyfill-php80) < %{sym_poly_max_ver})
Requires: (php-composer(psr/cache) >= %{psr_cache_min_ver} with php-composer(psr/cache) < %{psr_cache_max_ver})
# composer.json: suggest
Recommends: (php-composer(symfony/yaml) >= %{symfony_min_ver} with php-composer(symfony/yaml) < %{symfony_max_ver})
# remirepo:30
%else
Requires: php-doctrine-annotations >= %{annotations_min_ver}
Requires: php-composer(doctrine/cache) < %{cache_max_ver}
Requires: php-composer(doctrine/cache) >= %{cache_min_ver}
Requires: php-composer(doctrine/collections) < %{collections_max_ver}
Requires: php-composer(doctrine/collections) >= %{collections_min_ver}
Requires: php-composer(doctrine/common) < %{common_max_ver}
Requires: php-composer(doctrine/common) >= %{common_min_ver}
Requires: php-doctrine-dbal >= %{dbal_min_ver}
Requires: php-composer(doctrine/deprecations) < %{deprecations_max_ver}
Requires: php-composer(doctrine/deprecations) >= %{deprecations_min_ver}
Requires: php-composer(doctrine/inflector) < %{inflector_max_ver}
Requires: php-composer(doctrine/inflector) >= %{inflector_min_ver}
Requires: php-composer(doctrine/instantiator) < %{instantiator_max_ver}
Requires: php-composer(doctrine/instantiator) >= %{instantiator_min_ver}
Requires: php-composer(doctrine/event-manager) < %{event_max_ver}
Requires: php-composer(doctrine/event-manager) >= %{event_min_ver}
Requires: php-composer(doctrine/lexer) < %{lexer_max_ver}
Requires: php-composer(doctrine/lexer) >= %{lexer_min_ver}
Requires: php-composer(doctrine/persistence) < %{persistence_max_ver}
Requires: php-composer(doctrine/persistence) >= %{persistence_min_ver}
Requires: php-composer(symfony/console) < %{symfony_max_ver}
Requires: php-composer(symfony/console) >= %{symfony_min_ver}
Requires: php-composer(symfony/yaml) < %{symfony_max_ver}
Requires: php-composer(symfony/yaml) >= %{symfony_min_ver}
Requires: php-composer(symfony/polyfill-php80) < %{sym_poly_max_ver}
Requires: php-composer(symfony/polyfill-php80) >= %{sym_poly_min_ver}
Requires: php-composer(psr/cache) < %{psr_cache_max_ver}
Requires: php-composer(psr/cache) >= %{psr_cache_min_ver}
%endif
Requires: php-pdo
# phpcompatinfo (computed from version 2.5.11)
Requires: php-ctype
Requires: php-date
Requires: php-dom
Requires: php-json
Requires: php-pcre
Requires: php-reflection
Requires: php-simplexml
Requires: php-spl
Requires: php-tokenizer
# Autoloader
Requires: php-composer(fedora/autoloader)
# Weak dependencies
%if 0%{?fedora} >= 21
## Optional caches (see Doctrine\ORM\Tools\Setup::createConfiguration())
Suggests: php-pecl(apcu)
Suggests: php-pecl(memcache)
Suggests: php-pecl(redis)
Suggests: php-xcache
%endif
# Composer
Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
# PEAR
Provides: php-pear(pear.doctrine-project.org/DoctrineORM) = %{version}
# Rename
Obsoletes: php-doctrine-DoctrineORM < %{version}
Provides: php-doctrine-DoctrineORM = %{version}
%description
Object relational mapper (ORM) for PHP that sits on top of a powerful database
abstraction layer (DBAL). One of its' key features is the option to write
database queries in a proprietary object oriented SQL dialect called Doctrine
Query Language (DQL), inspired by Hibernate's HQL. This provides developers
with a powerful alternative to SQL that maintains flexibility without requiring
unnecessary code duplication.
Autoloader: %{phpdir}/Doctrine/ORM/autoload.php
%prep
%setup -qn %{github_name}-%{github_commit}
: Patch bin script
%patch0 -p1 -b .rpm1
sed -e 's#__PHPDIR__#%{phpdir}#g' -i \
bin/doctrine.php
%patch1 -p1 -b .rpm2
sed -e 's/@VERSION@/%{version}/' -i \
lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php \
tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php
find lib -name \*.rpm\? -delete
: move schema in librari
cp doctrine-mapping.xsd lib/Doctrine/ORM/Mapping/Driver/
sed -e '/doctrine-mapping.xsd/s:/../../../../..::' \
-i lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
: Remove empty file
rm -f lib/Doctrine/ORM/README.markdown
%build
: Create autoloader
cat <<'AUTOLOAD' | tee lib/Doctrine/ORM/autoload.php
<?php
/**
* Autoloader for %{name} and its' dependencies
* (created by %{name}-%{version}-%{release}).
*/
require_once '%{phpdir}/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Doctrine\\ORM\\', __DIR__);
\Fedora\Autoloader\Dependencies::required([
[
'%{phpdir}/Doctrine/Persistence3/autoload.php',
'%{phpdir}/Doctrine/Persistence2/autoload.php',
],
'%{phpdir}/Doctrine/Common/Annotations/autoload.php',
'%{phpdir}/Doctrine/Common3/autoload.php',
[
'%{phpdir}/Doctrine/Common/Cache2/autoload.php',
'%{phpdir}/Doctrine/Common/Cache/autoload.php',
],
'%{phpdir}/Doctrine/Common/Collections/autoload.php',
'%{phpdir}/Doctrine/Deprecations/autoload.php',
[
'%{phpdir}/Doctrine/Inflector2/autoload.php',
'%{phpdir}/Doctrine/Common/Inflector/autoload.php',
],
'%{phpdir}/Doctrine/Common/EventManager/autoload.php',
'%{phpdir}/Doctrine/Common/Lexer/autoload.php',
[
'%{phpdir}/Doctrine/DBAL3/autoload.php',
'%{phpdir}/Doctrine/DBAL/autoload.php',
],
'%{phpdir}/Doctrine/Instantiator/autoload.php',
[
'%{phpdir}/Symfony6/Component/Console/autoload.php',
'%{phpdir}/Symfony5/Component/Console/autoload.php',
'%{phpdir}/Symfony4/Component/Console/autoload.php',
'%{phpdir}/Symfony3/Component/Console/autoload.php',
], [
'%{phpdir}/Psr/Cache3/autoload.php',
'%{phpdir}/Psr/Cache2/autoload.php',
'%{phpdir}/Psr/Cache/autoload.php',
],
'%{phpdir}/Symfony/Polyfill/autoload.php',
]);
\Fedora\Autoloader\Dependencies::optional([
[
'%{phpdir}/Symfony6/Component/Yaml/autoload.php',
'%{phpdir}/Symfony5/Component/Yaml/autoload.php',
'%{phpdir}/Symfony4/Component/Yaml/autoload.php',
'%{phpdir}/Symfony3/Component/Yaml/autoload.php',
],
]);
AUTOLOAD
%install
: Lib
mkdir -p %{buildroot}%{phpdir}
cp -rp lib/Doctrine %{buildroot}%{phpdir}/
: Bin
mkdir -p %{buildroot}/%{_bindir}
install -pm 0755 bin/doctrine.php %{buildroot}/%{_bindir}/doctrine
%check
%if %{with_tests}
: Remove load of TestInit
mv tests/Doctrine/Tests/TestInit.php tests/Doctrine/Tests/TestInit.php.dist
grep -r --files-with-matches 'TestInit' tests \
| xargs sed '/TestInit/d' -i
: Load annotation register file from buildroot
sed "/registerFile/s#__DIR__.*/lib#'%{buildroot}%{phpdir}#" \
-i tests/Doctrine/Tests/OrmTestCase.php
: Create tests bootstrap
cat > bootstrap.php <<'BOOTSTRAP'
<?php
require_once '%{buildroot}%{phpdir}/Doctrine/ORM/autoload.php';
\Fedora\Autoloader\Dependencies::required([
[
'%{phpdir}/Psr/Log3/autoload.php',
'%{phpdir}/Psr/Log2/autoload.php',
'%{phpdir}/Psr/Log/autoload.php',
], [
'%{phpdir}/Symfony6/Component/Cache/autoload.php',
'%{phpdir}/Symfony5/Component/Cache/autoload.php',
'%{phpdir}/Symfony4/Component/Cache/autoload.php',
],
]);
\Fedora\Autoloader\Autoload::addPsr4('Doctrine\\Tests\\', __DIR__.'/tests/Doctrine/Tests');
\Fedora\Autoloader\Autoload::addPsr4('Doctrine\\StaticAnalysis\\', __DIR__.'/tests/Doctrine/StaticAnalysis');
\Fedora\Autoloader\Autoload::addPsr4('Doctrine\\Performance\\', __DIR__.'/tests/Doctrine/Performance');
BOOTSTRAP
# test failing only in mock
rm tests/Doctrine/Tests/ORM/Functional/Ticket/DDC742Test.php
: Upstream tests
RETURN_CODE=0
for CMDARG in "php %{phpunit}" php74 php80 php81; do
if which $CMDARG; then
set $CMDARG
$1 ${2:-%{_bindir}/phpunit9} \
--verbose -d memory_limit="512M" \
--filter '^((?!(testConfigureCache|testDecimal)).)*$' \
--bootstrap bootstrap.php \
|| RETURN_CODE=1
fi
done
exit $RETURN_CODE
%else
: Tests skipped
%endif
%files
# remirepo:1
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
%doc composer.json
%{phpdir}/Doctrine/ORM
%{_bindir}/doctrine
%changelog
* Mon Aug 8 2022 Remi Collet <remi@remirepo.net> - 2.13.1-1
- update to 2.13.1
* Fri Jun 17 2022 Remi Collet <remi@remirepo.net> - 2.12.3-1
- update to 2.12.3
* Tue May 3 2022 Remi Collet <remi@remirepo.net> - 2.12.2-1
- update to 2.12.2
- allow doctrine/deprecations 1
* Mon Apr 25 2022 Remi Collet <remi@remirepo.net> - 2.12.1-1
- update to 2.12.1
* Wed Apr 20 2022 Remi Collet <remi@remirepo.net> - 2.12.0-1
- update to 2.12.0
- raise dependency on doctrine/persistence 2.4 and allow 3
- raise dependency on doctrine/lexer 1.2.3
* Wed Apr 20 2022 Remi Collet <remi@remirepo.net> - 2.11.3-1
- update to 2.11.3
* Thu Mar 10 2022 Remi Collet <remi@remirepo.net> - 2.11.2-1
- update to 2.11.2
* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 2.11.1-1
- update to 2.11.1
* Fri Jan 21 2022 Remi Collet <remi@remirepo.net> - 2.11.0-2
- add missing dependency on doctrine-annotations
see https://github.com/doctrine/orm/pull/9416
* Wed Jan 12 2022 Remi Collet <remi@remirepo.net> - 2.11.0-1
- update to 2.11.0
* Tue Dec 21 2021 Remi Collet <remi@remirepo.net> - 2.10.4-1
- update to 2.10.4
* Wed Dec 15 2021 Remi Collet <remi@remirepo.net> - 2.10.3-2
- fix autoloader for dbal v2
* Tue Dec 7 2021 Remi Collet <remi@remirepo.net> - 2.10.3-1
- update to 2.10.3
* Mon Oct 25 2021 Remi Collet <remi@remirepo.net> - 2.10.2-1
- update to 2.10.2
* Wed Oct 6 2021 Remi Collet <remi@remirepo.net> - 2.10.1-1
- update to 2.10.1
* Mon Oct 4 2021 Remi Collet <remi@remirepo.net> - 2.10.0-2
- update to 2.10.0
- drop dependency on doctrine/annotations
- add dependency on symfony/polyfill-php80
- allow doctrine/dbal v3
* Mon Oct 4 2021 Remi Collet <remi@remirepo.net> - 2.9.6-1
- update to 2.9.6
* Thu Sep 2 2021 Remi Collet <remi@remirepo.net> - 2.9.5-1
- update to 2.9.5
* Thu Aug 12 2021 Remi Collet <remi@remirepo.net> - 2.9.4-1
- update to 2.9.4
- raise dependency on doctrine/cache 1.12.1
* Fri Jul 30 2021 Remi Collet <remi@remirepo.net> - 2.9.3-2
- skip 1 test, fix FTBFS #1987811
* Tue Jun 15 2021 Remi Collet <remi@remirepo.net> - 2.9.3-1
- update to 2.9.3
* Tue Jun 1 2021 Remi Collet <remi@remirepo.net> - 2.9.2-1
- update to 2.9.2
- raise dependency on doctrine/cache 1.11.3
* Tue May 25 2021 Remi Collet <remi@remirepo.net> - 2.9.1-1
- update to 2.9.1
- lower dependency on PHP 7.1
- raise dependency on doctrine/annotations 1.13
- raise dependency on doctrine/cache 1.11 and allow v2
- raise dependency on doctrine/dbal 2.13
- add dependency on doctrine/deprecations
- add dependency on psr/cache
- add build dependency on symfony/cache
* Tue May 25 2021 Remi Collet <remi@remirepo.net> - 2.8.5-1
- update to 2.8.5
- raise dependency on doctrine/persistence 2.2
* Tue Apr 6 2021 Remi Collet <remi@remirepo.net> - 2.8.4-1
- update to 2.8.4
* Tue Apr 6 2021 Remi Collet <remi@remirepo.net> - 2.8.3-1
- update to 2.8.3
* Wed Feb 24 2021 Remi Collet <remi@remirepo.net> - 2.8.2-1
- update to 2.8.2
- raise dependency on doctrine/common 3.0.3
* Tue Dec 8 2020 Remi Collet <remi@remirepo.net> - 2.8.1-1
- update to 2.8.1
- raise dependency on PHP 7.2
- raise dependency on doctrine/annotations 1.11.1
- raise dependency on doctrine/common 3.0
- raise dependency on doctrine/dbal 2.10
- raise dependency on doctrine/inflector 1.4 and allow 2.0
- raise dependency on doctrine/persistence 2.0
- switch to phpunit9
* Mon Oct 12 2020 Remi Collet <remi@remirepo.net> - 2.7.4-1
- update to 2.7.4
* Wed May 27 2020 Remi Collet <remi@remirepo.net> - 2.7.3-1
- update to 2.7.3
- allow doctrine/common v3
- allow doctrine/persistence v2
- add dependency on doctrine/inflector
- add dependency on doctrine/lexer
* Wed Mar 25 2020 Remi Collet <remi@remirepo.net> - 2.7.2-1
- update to 2.7.2
* Mon Feb 17 2020 Remi Collet <remi@remirepo.net> - 2.7.1-1
- update to 2.7.1
* Tue Nov 19 2019 Remi Collet <remi@remirepo.net> - 2.7.0-1
- update to 2.7.0
- add dependency on doctrine/event-manager
- add dependency on doctrine/persistence
- raise dependency on doctrine/annotations 1.8
- raise dependency on doctrine/cache 1.9.1
- raise dependency on doctrine/collections 1.5
- raise dependency on doctrine/common 2.11
- raise dependency on doctrine/dbal 2.9.3
- raise dependency on doctrine/instantiator 1.3
- allow Symfony 5
- symfony/yaml is optional
* Tue Nov 19 2019 Remi Collet <remi@remirepo.net> - 2.6.6-1
- update to 2.6.6
* Mon Nov 18 2019 Remi Collet <remi@remirepo.net> - 2.6.5-1
- update to 2.6.5
* Mon Sep 30 2019 Remi Collet <remi@remirepo.net> - 2.6.4-1
- update to 2.6.4
- switch to phpunit7
* Thu Nov 22 2018 Remi Collet <remi@remirepo.net> - 2.6.3-1
- update to 2.6.3
* Wed Oct 17 2018 Remi Collet <remi@remirepo.net> - 2.6.2-1
- update to 2.6.2
- raise dependency on PHP 7.1
- add dependency on doctrine/annotations
- raise dependency on doctrine/cache 1.6
- raise dependency on doctrine/collections 1.4
- raise dependency on doctrine/common 2.7.1
- raise dependency on doctrine/dbal 2.6
- raise dependency on doctrine/instantiator 1.1
- switch to symfony 3 and 4
- switch to phpunit6
* Tue Oct 16 2018 Remi Collet <remi@remirepo.net> - 2.5.14-1
- update to 2.5.14
- fix FTBFS from Koschei add patch for PHP 7.3 from
https://github.com/doctrine/doctrine2/pull/7431
- use range dependencies
* Fri Nov 10 2017 Remi Collet <remi@remirepo.net> - 2.5.12-2
- fix more tests failing since 7.1
* Fri Nov 10 2017 Remi Collet <remi@remirepo.net> - 2.5.12-1
- Update to 2.5.12
- fix FTBFS from Koschei add patch for PHP 7.2 from
https://github.com/doctrine/doctrine2/pull/6821
* Wed Sep 20 2017 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.5.11-1
- Updated to 2.5.11 (RHBZ #1207905)
* Sat Feb 25 2017 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.8-3
- Fix FTBFS in rawhide (RHBZ #1424060)
- Use php-composer(fedora/autoloader)
- Test SCLs if available
* Sat Jul 09 2016 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.8-1
- Updated to 2.4.8 (RHBZ #1347926 / CVE-2015-5723)
- Added autoloader
* Mon Jun 13 2016 Remi Collet <remi@fedoraproject.org> - 2.4.7-5
- add workaround for test suite with PHPUnit 5.4
* Sun Feb 28 2016 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.7-4
- Skip additional tests known to fail (RHBZ #1307857)
* Sun Dec 28 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.7-1
- Updated to 2.4.7 (BZ #1175217)
- %%license usage
* Mon Nov 03 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.6-2
- Ensure 512M of memory (instead of default 128M) so mock x86_64
builds pass (BZ #1159650)
* Tue Oct 14 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.6-1
- Updated to 2.4.6 (BZ #1108129)
- Manual git clone source instead of GitHub archive URL (to include tests)
- Removed Patch1 (%%{name}-upstream.patch)
- Added tests
* Tue Oct 7 2014 Remi Collet <remi@fedoraproject.org> 2.4.6-1
- Update to 2.4.6
* Tue Sep 23 2014 Remi Collet <remi@fedoraproject.org> 2.4.5-1
- Update to 2.4.5
* Sat Sep 13 2014 Remi Collet <remi@fedoraproject.org> 2.4.4-1
- Update to 2.4.4
- backport upstream patch to use doctrine/instantiator
- fix license handling
* Sat Jun 21 2014 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.4.2-4
- Added php-composer(%%{composer_vendor}/%%{composer_project}) virtual provide
- Updated Doctrine dependencies to use php-composer virtual provides
* Fri May 30 2014 Remi Collet <remi@fedoraproject.org> 2.4.2-2
- upstream fix for latest PHP (#1103219)
* Mon Feb 17 2014 Remi Collet <rpms@famillecollet.com> 2.4.2-1
- backport 2.4.2 for remi repo
* Wed Feb 12 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 2.4.2-1
- Updated to 2.4.2 (BZ #1063021)
* Sat Jan 11 2014 Remi Collet <rpms@famillecollet.com> 2.4.1-2
- backport for remi repo
* Sat Jan 04 2014 Shawn Iwinski <shawn.iwinski@gmail.com> 2.4.1-2
- Conditional %%{?dist}
- Bin script patch instead of inline update and use Doctrine Common classloader
- Updated optional cache information in %%description
- Removed empty file
- Removed unnecessary executable bit
* Sat Dec 28 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 2.4.1-1
- Initial package
|