summaryrefslogtreecommitdiffstats
path: root/composer.spec
blob: b368277eac0cbe4e1de53a045e5edb1cce09a90f (plain)
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
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
# remirepo/fedora spec file for composer
#
# Copyright (c) 2015-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#

# For compatibility with SCL
%undefine __brp_mangle_shebangs

%if 0%{?fedora}
%bcond_without       tests
%bcond_without       syslib
%else
%bcond_with          tests
%bcond_with          syslib
%endif

%global gh_commit    ce785a18c0fb472421e52d958bab339247cb0e82
%global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
%global gh_branch    2.0-dev
%global gh_owner     composer
%global gh_project   composer
%global api_version  2.2.0
%global run_version  2.2.2

%global upstream_version 2.2.6
#global upstream_prever  RC1
#global upstream_lower   rc1

%global symfony_prefix php-symfony4
%global symfony_path   %{_datadir}/php/Symfony4
%global symfony_min    4.4

%global _phpunit       %{_bindir}/phpunit9

Name:           composer
Version:        %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
Release:        1%{?dist}
Summary:        Dependency Manager for PHP

# composer and all dependencies are MIT
License:        MIT
URL:            https://getcomposer.org/
Source0:        %{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tgz
# Profile scripts
Source3:        %{name}.sh
Source4:        %{name}.csh
# Get a git snapshot to retrieve the test suite
Source5:        makesrc.sh

# Use our autoloader, resources path, fix for tests
Patch0:         %{name}-rpm.patch
# Disable XDG support as only partially implemented
Patch1:         %{name}-noxdg.patch

BuildArch:      noarch
# platform set in makesrc.sh
BuildRequires:  php(language) >= 7.2.5
BuildRequires:  php-cli
BuildRequires:  php-json
%if %{with tests}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires:  (php-composer(composer/ca-bundle)        >= 1.0    with  php-composer(composer/ca-bundle)        <  2)
BuildRequires:  (php-composer(composer/metadata-minifier) >= 1.0   with  php-composer(composer/metadata-minifier) < 2)
BuildRequires:  (php-composer(composer/semver)           >= 3.0    with  php-composer(composer/semver)           <  4)
BuildRequires:  (php-composer(composer/spdx-licenses)    >= 1.2    with  php-composer(composer/spdx-licenses)    <  2)
BuildRequires:  (php-composer(composer/xdebug-handler)   >= 2.0    with  php-composer(composer/xdebug-handler)   <  3)
BuildRequires:  (php-composer(seld/jsonlint)             >= 1.4    with  php-composer(seld/jsonlint)             <  2)
BuildRequires:  (php-composer(seld/phar-utils)           >= 1.1    with  php-composer(seld/phar-utils)           <  2)
BuildRequires:  (php-composer(psr/log)                   >= 1.1    with  php-composer(psr/log)                   <  3)
BuildRequires:  (php-composer(justinrainbow/json-schema) >= 5.2.11 with  php-composer(justinrainbow/json-schema) <  6)
BuildRequires:  (php-composer(react/promise)             >= 2.7    with  php-composer(react/promise)             <  3)
BuildRequires:  (php-composer(composer/pcre)             >= 1.0    with  php-composer(composer/pcre)             <  2)
# remirepo:13
%else
BuildRequires:  php-composer-ca-bundle
BuildRequires:  php-composer-metadata-minifier
BuildRequires:  php-composer-semver3
BuildRequires:  php-composer-spdx-licenses               >= 1.2
BuildRequires:  php-composer-xdebug-handler2
BuildRequires:  php-jsonlint                             >= 1.4
BuildRequires:  php-seld-phar-utils                      >= 1.1
BuildRequires:  php-PsrLog                               >= 1.1
BuildRequires:  php-justinrainbow-json-schema5           >= 5.2.11
BuildRequires:  php-react-promise                        >= 2.7
BuildRequires:  php-composer-pcre
%endif
BuildRequires:  %{symfony_prefix}-console    >= %{symfony_min}
BuildRequires:  %{symfony_prefix}-finder     >= %{symfony_min}
BuildRequires:  %{symfony_prefix}-filesystem >= %{symfony_min}
BuildRequires:  %{symfony_prefix}-process    >= %{symfony_min}
BuildRequires:  php-zip
# From composer.json, "require-dev": {
#        "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0",
#        "phpspec/prophecy": "^1.10"
BuildRequires:  %{_phpunit}
# For autoloader
BuildRequires:  php-fedora-autoloader-devel
%endif

# From composer.json, "require": {
#        "php": "^5.3.2 || ^7.0",
#        "composer/ca-bundle": "^1.0",
#        "composer/metadata-minifier": "^1.0",
#        "composer/semver": "^3.0",
#        "composer/spdx-licenses": "^1.2",
#        "composer/xdebug-handler": "^2.0",
#        "justinrainbow/json-schema": "^5.2.11",
#        "psr/log": "^1.0 || ^2.0"
#        "seld/jsonlint": "~1.4",
#        "seld/phar-utils": "^1.0",
#        "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0",
#        "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
#        "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
#        "symfony/process": "^^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
#        "react/promise": "^1.2 || ^2.7",
#        "composer/pcre": "^1.0"
Requires:       php(language)                           >= 7.2.5
Requires:       php-cli
%if %{with syslib}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires:       (php-composer(composer/ca-bundle)        >= 1.0    with  php-composer(composer/ca-bundle)        <  2)
Requires:       (php-composer(composer/metadata-minifier) >= 1.0   with  php-composer(composer/metadata-minifier) < 2)
Requires:       (php-composer(composer/semver)           >= 3.0    with  php-composer(composer/semver)           <  4)
Requires:       (php-composer(composer/spdx-licenses)    >= 1.2    with  php-composer(composer/spdx-licenses)    <  2)
Requires:       (php-composer(composer/xdebug-handler)   >= 2.0    with  php-composer(composer/xdebug-handler)   <  3)
Requires:       (php-composer(seld/jsonlint)             >= 1.4    with  php-composer(seld/jsonlint)             <  2)
Requires:       (php-composer(seld/phar-utils)           >= 1.1    with  php-composer(seld/phar-utils)           <  2)
Requires:       (php-composer(psr/log)                   >= 1.1    with  php-composer(psr/log)                   <  3)
Requires:       (php-composer(justinrainbow/json-schema) >= 5.2.11 with  php-composer(justinrainbow/json-schema) <  6)
Requires:       (php-composer(react/promise)             >= 2.7    with  php-composer(react/promise)             <  3)
Requires:       (php-composer(composer/pcre)             >= 1.0    with  php-composer(composer/pcre)             <  2)
# remirepo:13
%else
Requires:       php-composer-ca-bundle
Requires:       php-composer-metadata-minifier
Requires:       php-composer-semver3
Requires:       php-composer-spdx-licenses               >= 1.2
Requires:       php-composer-xdebug-handler2
Requires:       php-jsonlint                             >= 1.4
Requires:       php-seld-phar-utils                      >= 1.1
Requires:       php-PsrLog                               >= 1.1
Requires:       php-justinrainbow-json-schema5           >= 5.2.11
Requires:       php-react-promise                        >= 2.7
Requires:       php-composer-pcre
%endif
Requires:       %{symfony_prefix}-console    >= %{symfony_min}
Requires:       %{symfony_prefix}-finder     >= %{symfony_min}
Requires:       %{symfony_prefix}-process    >= %{symfony_min}
Requires:       %{symfony_prefix}-filesystem >= %{symfony_min}
# For our autoloader
Requires:       php-composer(fedora/autoloader)
%else
# System certificates
Requires:       ca-certificates
# Bundled libraries
Provides:       bundled(php-composer-ca-bundle) = 1.3.1
Provides:       bundled(php-composer-metadata-minifier) = 1.0.0
Provides:       bundled(php-composer-pcre) = 1.0.1
Provides:       bundled(php-composer-semver) = 3.2.9
Provides:       bundled(php-composer-spdx-licenses) = 1.5.6
Provides:       bundled(php-composer-xdebug-handler) = 2.0.4
Provides:       bundled(php-justinrainbow-json-schema) = 5.2.11
Provides:       bundled(php-psr-container) = 1.1.1
Provides:       bundled(php-psr-log) = 1.1.4
Provides:       bundled(php-react-promise) = v2.8.0
Provides:       bundled(php-seld-jsonlint) = 1.8.3
Provides:       bundled(php-seld-phar-utils) = 1.2.0
Provides:       bundled(php-symfony-console) = v5.4.3
Provides:       bundled(php-symfony-deprecation-contracts) = v2.5.0
Provides:       bundled(php-symfony-filesystem) = v5.4.3
Provides:       bundled(php-symfony-finder) = v5.4.3
Provides:       bundled(php-symfony-polyfill-ctype) = v1.24.0
Provides:       bundled(php-symfony-polyfill-intl-grapheme) = v1.24.0
Provides:       bundled(php-symfony-polyfill-intl-normalizer) = v1.24.0
Provides:       bundled(php-symfony-polyfill-mbstring) = v1.24.0
Provides:       bundled(php-symfony-polyfill-php73) = v1.24.0
Provides:       bundled(php-symfony-polyfill-php80) = v1.24.0
Provides:       bundled(php-symfony-process) = v5.4.3
Provides:       bundled(php-symfony-service-contracts) = v2.5.0
Provides:       bundled(php-symfony-string) = v5.4.3
%endif
# From composer.json, suggest
#        "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages",
#        "ext-zip": "Enabling the zip extension allows you to unzip archives",
#        "ext-zlib": "Allow gzip compression of HTTP requests"
Requires:       php-openssl
Requires:       php-zip
Requires:       php-zlib
# From phpcompatinfo for version 2.2.5
Requires:       php-ctype
Requires:       php-curl
Requires:       php-date
Requires:       php-dom
Requires:       php-filter
Requires:       php-hash
Requires:       php-iconv
Requires:       php-intl
Requires:       php-json
Requires:       php-libxml
Requires:       php-mbstring
Requires:       php-pcntl
Requires:       php-pcre
Requires:       php-phar
Requires:       php-posix
Requires:       php-reflection
Requires:       php-spl
Requires:       php-tokenizer
Requires:       php-xsl
Requires:       php-zlib

# Composer library
Provides:       php-composer(composer/composer) = %{version}
# Special internal for Plugin API
Provides:       php-composer(composer-plugin-api) = %{api_version}
Provides:       php-composer(composer-runtime-api) = %{run_version}


%description
Composer helps you declare, manage and install dependencies of PHP projects,
ensuring you have the right stack everywhere.

Documentation: https://getcomposer.org/doc/


%prep
%setup -q -n %{gh_project}-%{gh_commit}

%patch0 -p1 -b .rpm
%patch1 -p1 -b .noxdg
find . \( -name \*.rpm -o -name \*noxdg \) -delete -print

if grep -r '\.\./res'; then
	: Patch need to fixed
	exit 1
fi

rm src/bootstrap.php
rm src/Composer/vendor/composer/ca-bundle/res/cacert.pem

%if %{with syslib}
rm -rf src/Composer/vendor

phpab --template fedora --output src/Composer/autoload.php src/Composer
cat << 'EOF' | tee -a src/Composer/autoload.php

\Fedora\Autoloader\Dependencies::required([
    '%{_datadir}/php/Composer/XdebugHandler2/autoload.php', /* before symfony which load composer */
    '%{symfony_path}/Component/Console/autoload.php',
    '%{symfony_path}/Component/Finder/autoload.php',
    '%{symfony_path}/Component/Process/autoload.php',
    '%{symfony_path}/Component/Filesystem/autoload.php',
    '%{_datadir}/php/Seld/JsonLint/autoload.php',
    '%{_datadir}/php/Seld/PharUtils/autoload.php',
    '%{_datadir}/php/Composer/CaBundle/autoload.php',
    '%{_datadir}/php/Composer/Spdx/autoload.php',
    '%{_datadir}/php/Composer/MetadataMinifier/autoload.php',
    '%{_datadir}/php/Composer/Semver3/autoload.php',
    '%{_datadir}/php/Composer/Pcre/autoload.php',
    [
        '%{_datadir}/php/Psr/Log2/autoload.php',
        '%{_datadir}/php/Psr/Log/autoload.php',
    ],
    '%{_datadir}/php/JsonSchema5/autoload.php',
    '%{_datadir}/php/React/Promise/autoload.php',
]);
EOF

cat << 'EOF' | tee tests/bootstrap.php
<?php
require 'Composer/autoload.php';
\Fedora\Autoloader\Autoload::addPsr0('Composer\\Test\\', __DIR__ . '/');
EOF

%else
: symlink autoloader for library
ln -s vendor/autoload.php src/Composer/autoload.php

: fix layout
sed -e "s:/../..' . '/src/Composer::" -i src/Composer/vendor/composer/autoload_static.php

: List bundled libraries and Licenses
php -r '
	$pkgs = file_get_contents("src/Composer/vendor/composer/installed.json");
	$pkgs = json_decode($pkgs, true);
	if (!is_array($pkgs) || !isset($pkgs["packages"])) {
        echo "cant decode json file\n";
		exit(3);
	}
	$lic = [];
    foreach($pkgs["packages"] as $pkg) {
        printf("Provides:       bundled(php-%s) = %s\n", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]);
        $lic = array_merge($lic, $pkg["license"]);
	}
	sort($lic);
	printf("\nLicense: %s\n\n", implode(" and ", array_unique($lic)));
'
%endif

: fix reported version
%if 0%{?gh_date}
DATE=%{gh_date}
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6:2}
sed -e '/VERSION/s/@package_version@/%{gh_commit}/' \
    -e '/BRANCH_ALIAS_VERSION/s/@package_branch_alias_version@/%{gh_branch}/' \
    -e "/RELEASE_DATE/s/@release_date@/$DATE/" \
    -i src/Composer/Composer.php
%else
sed -e '/BRANCH_ALIAS_VERSION/s/@package_branch_alias_version@//' \
    -i src/Composer/Composer.php
%endif

: check Plugin API version
php -r '
namespace Composer;
include "src/Composer/autoload.php";
if (version_compare(Plugin\PluginInterface::PLUGIN_API_VERSION, "%{api_version}")) {
  printf("Plugin API version is %s, expected %s\n", Plugin\PluginInterface::PLUGIN_API_VERSION, "%{api_version}");
  exit(1);
}
if (version_compare(Composer::RUNTIME_API_VERSION, "%{run_version}")) {
  printf("Runtime API version is %s, expected %s\n", Composer::RUNTIME_API_VERSION, "%{run_version}");
  exit(1);
}'


%build
# Nothing


%install
: Profile scripts
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -m 644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/

: Library
mkdir -p     %{buildroot}%{_datadir}/php
cp -pr src/* %{buildroot}%{_datadir}/php

: Resources
mkdir -p       %{buildroot}%{_datadir}/%{name}
cp -pr res     %{buildroot}%{_datadir}/%{name}/res
cp -p  LICENSE %{buildroot}%{_datadir}/%{name}/LICENSE

ln -sf %{_datadir}/%{name}/LICENSE LICENSE

: Command
install -Dpm 755 bin/%{name} %{buildroot}%{_bindir}/%{name}


%check
%if %{with tests} && %{with syslib}
: Online tests
rm tests/Composer/Test/Util/RemoteFilesystemTest.php

: Ensure not used
rm -rf res

: Run test suite
export BUILDROOT=%{buildroot}

# testSearchWithSpecialChars is online
# testCreateMap fails on 8.1
# testOutputIgnoresFormatting use InstalledVersions
FILTER="--filter '^((?!(testIntegration|testSearchWithSpecialChars|testCreateMap|testOutputIgnoresFormatting)).)*$'"

# Adapt for phunit9
find tests \
  -name \*.php \
  -exec sed -e '/function setUpBeforeClass(/s/$/:void/' \
            -e '/function tearDownAfterClass(/s/$/:void/' \
            -e '/function setUp(/s/$/:void/' \
            -e '/function tearDown(/s/$/:void/' \
            -i {} \;

# testIntegration may hang on local build
ret=0
for cmd in php php74 php80 php81; do
  if which $cmd; then
    $cmd -d memory_limit=1G %{_phpunit} \
      $FILTER \
      --include-path %{buildroot}%{_datadir}/php  || ret=1
  fi
done
exit $ret
%else
: Test suite disabled
%endif


%files
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md doc
%doc composer.json
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*
%{_bindir}/%{name}
%{_datadir}/php/Composer
%{_datadir}/%{name}


%changelog
* Sat Feb  5 2022 Remi Collet <remi@remirepo.net> - 2.2.6-1
- update to 2.2.6

* Mon Jan 31 2022 Remi Collet <remi@remirepo.net> - 2.2.5-3
- lower minimal php version back to 7.2.5

* Tue Jan 25 2022 Remi Collet <remi@remirepo.net> - 2.2.5-2
- use system libraries on Fedora, bundled libraries on EL

* Sat Jan 22 2022 Remi Collet <remi@remirepo.net> - 2.2.5-1
- update to 2.2.5

* Sun Jan  9 2022 Remi Collet <remi@remirepo.net> - 2.2.4-1
- update to 2.2.4

* Sat Jan  1 2022 Remi Collet <remi@remirepo.net> - 2.2.3-1
- update to 2.2.3

* Thu Dec 30 2021 Remi Collet <remi@remirepo.net> - 2.2.2-1
- update to 2.2.2

* Thu Dec 23 2021 Remi Collet <remi@remirepo.net> - 2.2.1-1
- update to 2.2.1

* Wed Dec 22 2021 Remi Collet <remi@remirepo.net> - 2.2.0-1
- update to 2.2.0

* Wed Dec  8 2021 Remi Collet <remi@remirepo.net> - 2.2.0-RC1-1
- update to 2.2.0-RC1
- add dependency on composer/pcre

* Tue Nov 30 2021 Remi Collet <remi@remirepo.net> - 2.1.14-1
- update to 2.1.14

* Tue Nov  9 2021 Remi Collet <remi@remirepo.net> - 2.1.12-1
- update to 2.1.12

* Tue Nov  2 2021 Remi Collet <remi@remirepo.net> - 2.1.11-1
- update to 2.1.11

* Sat Oct 30 2021 Remi Collet <remi@remirepo.net> - 2.1.10-1
- update to 2.1.10
- allow psr/log v2

* Tue Oct  5 2021 Remi Collet <remi@remirepo.net> - 2.1.9-1
- update to 2.1.9

* Sat Sep 18 2021 Remi Collet <remi@remirepo.net> - 2.1.8-1
- update to 2.1.8

* Tue Sep 14 2021 Remi Collet <remi@remirepo.net> - 2.1.7-1
- update to 2.1.7

* Mon Aug 23 2021 Remi Collet <remi@remirepo.net> - 2.1.6-1
- update to 2.1.6

* Fri Jul 23 2021 Remi Collet <remi@remirepo.net> - 2.1.5-1
- update to 2.1.5

* Thu Jul 22 2021 Remi Collet <remi@remirepo.net> - 2.1.4-1
- update to 2.1.4
- raise dependency on justinrainbow/json-schema 5.2.11

* Thu Jun 10 2021 Remi Collet <remi@remirepo.net> - 2.1.3-1
- update to 2.1.3

* Mon Jun  7 2021 Remi Collet <remi@remirepo.net> - 2.1.2-1
- update to 2.1.2

* Mon Jun  7 2021 Remi Collet <remi@remirepo.net> - 2.1.1-2
- fix Composer\InstalledVersions RPM installation

* Fri Jun  4 2021 Remi Collet <remi@remirepo.net> - 2.1.1-1
- update to 2.1.1

* Thu Jun  3 2021 Remi Collet <remi@remirepo.net> - 2.1.0-1
- update to 2.1.0

* Thu Jun  3 2021 Remi Collet <remi@remirepo.net> - 2.1.0~RC1-1
- update to 2.1.0-RC1

* Mon May 31 2021 Remi Collet <remi@remirepo.net> - 2.0.14-2
- disable XDG directories usage, see #1955455

* Sat May 22 2021 Remi Collet <remi@remirepo.net> - 2.0.14-1
- update to 2.0.14
- switch to composer/xdebug-handler v2

* Tue Apr 27 2021 Remi Collet <remi@remirepo.net> - 2.0.13-1
- update to 2.0.13
- add dependency on composer/metadata-minifier

* Thu Apr  1 2021 Remi Collet <remi@remirepo.net> - 2.0.12-1
- update to 2.0.12

* Wed Feb 24 2021 Remi Collet <remi@remirepo.net> - 2.0.11-1
- update to 2.0.11

* Tue Feb 23 2021 Remi Collet <remi@remirepo.net> - 2.0.10-1
- update to 2.0.10

* Thu Jan 28 2021 Remi Collet <remi@remirepo.net> - 2.0.9-1
- update to 2.0.9

* Tue Jan 26 2021 Remi Collet <remi@remirepo.net> - 2.0.8-2
- add upstream patch for recent Symfony version
- switch to Symfony 3 (EL-7) or Symfony 4
- switch to phpunit9

* Fri Dec  4 2020 Remi Collet <remi@remirepo.net> - 2.0.8-1
- update to 2.0.8

* Sat Nov 14 2020 Remi Collet <remi@remirepo.net> - 2.0.7-1
- update to 2.0.7

* Sun Nov  8 2020 Remi Collet <remi@remirepo.net> - 2.0.6-1
- update to 2.0.6

* Sat Nov  7 2020 Remi Collet <remi@remirepo.net> - 2.0.5-1
- update to 2.0.5

* Sat Oct 31 2020 Remi Collet <remi@remirepo.net> - 2.0.4-1
- update to 2.0.4

* Thu Oct 29 2020 Remi Collet <remi@remirepo.net> - 2.0.3-1
- update to 2.0.3

* Mon Oct 26 2020 Remi Collet <remi@remirepo.net> - 2.0.2-1
- update to 2.0.2

* Sun Oct 25 2020 Remi Collet <remi@remirepo.net> - 2.0.1-1
- update to 2.0.1

* Thu Oct 15 2020 Remi Collet <remi@remirepo.net> - 2.0.0~rc2-1
- update to 2.0.0-RC2

* Thu Sep 10 2020 Remi Collet <remi@remirepo.net> - 2.0.0~rc1-1
- update to 2.0.0-RC1

* Tue Aug  4 2020 Remi Collet <remi@remirepo.net> - 2.0.0~alpha3-1
- update to 2.0.0-alpha3

* Thu Jun 25 2020 Remi Collet <remi@remirepo.net> - 2.0.0~alpha2-1
- update to 2.0.0-alpha2
- switch back to Symfony 2

* Wed Jun  3 2020 Remi Collet <remi@remirepo.net> - 2.0.0~alpha1-1
- update to 2.0.0-alpha1
- switch to Symfony 4
- switch to phpunit7
- raise dependency on composer/semver 3
- add dependency on react/promise 2.7

* Wed Jun  3 2020 Remi Collet <remi@remirepo.net> - 1.10.7-1
- update to 1.10.7
- raise dependency on justinrainbow/json-schema 5.2.10

* Wed May  6 2020 Remi Collet <remi@remirepo.net> - 1.10.6-1
- update to 1.10.6
- provide php-composer(composer-runtime-api)

* Fri Apr 10 2020 Remi Collet <remi@remirepo.net> - 1.10.5-1
- update to 1.10.5

* Thu Apr  9 2020 Remi Collet <remi@remirepo.net> - 1.10.4-1
- update to 1.10.4

* Sat Mar 14 2020 Remi Collet <remi@remirepo.net> - 1.10.1-1
- update to 1.10.1

* Wed Mar 11 2020 Remi Collet <remi@remirepo.net> - 1.10.0-1
- update to 1.10.0

* Fri Feb 14 2020 Remi Collet <remi@remirepo.net> - 1.10.0~RC-1
- update to 1.10.0-RC

* Tue Feb  4 2020 Remi Collet <remi@remirepo.net> - 1.9.3-1
- update to 1.9.3

* Tue Jan 14 2020 Remi Collet <remi@remirepo.net> - 1.9.2-1
- update to 1.9.2

* Sat Nov  2 2019 Remi Collet <remi@remirepo.net> - 1.9.1-1
- update to 1.9.1

* Wed Oct  9 2019 Remi Collet <remi@remirepo.net> - 1.9.0-2
- add upstream patch for PHP 7.4

* Sat Aug  3 2019 Remi Collet <remi@remirepo.net> - 1.9.0-1
- update to 1.9.0

* Tue Jun 11 2019 Remi Collet <remi@remirepo.net> - 1.8.6-1
- update to 1.8.6

* Wed Apr 10 2019 Remi Collet <remi@remirepo.net> - 1.8.5-1
- update to 1.8.5

* Mon Feb 11 2019 Remi Collet <remi@remirepo.net> - 1.8.4-1
- update to 1.8.4

* Wed Jan 30 2019 Remi Collet <remi@remirepo.net> - 1.8.3-1
- update to 1.8.3

* Tue Jan 29 2019 Remi Collet <remi@remirepo.net> - 1.8.2-1
- update to 1.8.2

* Mon Dec  3 2018 Remi Collet <remi@remirepo.net> - 1.8.0-1
- update to 1.8.0

* Fri Nov  2 2018 Remi Collet <remi@remirepo.net> - 1.7.3-1
- update to 1.7.3

* Fri Aug 17 2018 Remi Collet <remi@remirepo.net> - 1.7.2-1
- update to 1.7.2

* Thu Aug  9 2018 Remi Collet <remi@remirepo.net> - 1.7.1-1
- update to 1.7.1

* Thu Jul 26 2018 Remi Collet <remi@remirepo.net> - 1.7.0-1
- update to 1.7.0
- drop dependency on seld/cli-prompt
- add dependency on composer/xdebug-handler

* Fri May  4 2018 Remi Collet <remi@remirepo.net> - 1.6.5-1
- update to 1.6.5

* Mon Apr 16 2018 Remi Collet <remi@remirepo.net> - 1.6.4-1
- update to 1.6.4

* Tue Feb 20 2018 Remi Collet <remi@remirepo.net> - 1.6.3-4
- switch to Symfony2 only

* Thu Feb  1 2018 Remi Collet <remi@remirepo.net> - 1.6.3-2
- undefine __brp_mangle_shebangs (F28)

* Thu Feb  1 2018 Remi Collet <remi@remirepo.net> - 1.6.3-1
- Update to 1.6.3

* Sun Jan  7 2018 Remi Collet <remi@remirepo.net> - 1.6.2-1
- Update to 1.6.2

* Thu Jan  4 2018 Remi Collet <remi@remirepo.net> - 1.6.1-1
- Update to 1.6.1

* Thu Jan  4 2018 Remi Collet <remi@remirepo.net> - 1.6.0-2
- open https://github.com/composer/composer/pull/6974
  Fix dependency on composer/spdx-licenses
- raise dependency on composer/spdx-licenses 1.2
- switch to Symfony 3 on F27+

* Thu Jan  4 2018 Remi Collet <remi@remirepo.net> - 1.6.0-1
- Update to 1.6.0

* Wed Dec 20 2017 Remi Collet <remi@remirepo.net> - 1.6.0~RC-1
- update to 1.6.0-RC
- switch to Symfony 4 on F27+

* Mon Dec 18 2017 Remi Collet <remi@remirepo.net> - 1.5.6-1
- Update to 1.5.6
- switch to symfony package names

* Mon Dec  4 2017 Remi Collet <remi@remirepo.net> - 1.5.5-2
- fix csh profile script for EL-6

* Fri Dec  1 2017 Remi Collet <remi@remirepo.net> - 1.5.5-1
- Update to 1.5.5

* Fri Dec  1 2017 Remi Collet <remi@remirepo.net> - 1.5.4-1
- Update to 1.5.4

* Fri Dec  1 2017 Remi Collet <remi@remirepo.net> - 1.5.3-1
- Update to 1.5.3

* Mon Sep 11 2017 Remi Collet <remi@remirepo.net> - 1.5.2-1
- Update to 1.5.2

* Wed Aug  9 2017 Remi Collet <remi@remirepo.net> - 1.5.1-1
- Update to 1.5.1

* Tue Aug  8 2017 Remi Collet <remi@remirepo.net> - 1.5.0-1
- Update to 1.5.0

* Mon Aug  7 2017 Remi Collet <remi@remirepo.net> - 1.4.3-1
- Update to 1.4.3
- ignore 2 failed tests related to BC break in symfony

* Mon May 22 2017 Remi Collet <remi@remirepo.net> - 1.4.2-2
- fix autoloader to allow symfony 2 and 3
- raise dependency on justinrainbow/json-schema v5
- open https://github.com/composer/composer/pull/6435 - fix tests

* Mon May 22 2017 Remi Collet <remi@remirepo.net> - 1.4.2-1
- Update to 1.4.2
- only use json-schema 4 and Symfony 2.8 because of
  https://github.com/composer/composer/issues/6434

* Fri Mar 10 2017 Remi Collet <remi@remirepo.net> - 1.4.1-1
- Update to 1.4.1

* Wed Mar  8 2017 Remi Collet <remi@remirepo.net> - 1.4.0-1
- Update to 1.4.0
- raise dependency on justinrainbow/json-schema version 3 to 5

* Wed Mar  8 2017 Remi Collet <remi@remirepo.net> - 1.3.3-1
- Update to 1.3.3

* Sat Jan 28 2017 Remi Collet <remi@fedoraproject.org> - 1.3.2-1
- update to 1.3.2

* Sat Jan  7 2017 Remi Collet <remi@fedoraproject.org> - 1.3.1-1
- update to 1.3.1

* Sat Dec 24 2016 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
- update to 1.3.0

* Mon Dec 12 2016 Remi Collet <remi@fedoraproject.org> - 1.3.0-0.1.RC
- update to 1.3.0-RC
- raise dependency on symfony 2.7
- allow justinrainbow/json-schema 4

* Wed Dec  7 2016 Remi Collet <remi@fedoraproject.org> - 1.2.4-1
- update to 1.2.4

* Thu Dec  1 2016 Remi Collet <remi@fedoraproject.org> - 1.2.3-1
- update to 1.2.3

* Thu Nov 17 2016 Remi Collet <remi@fedoraproject.org> - 1.2.2-2
- add profile scripts so globally installed commands
  will be found in default user path #1394577

* Thu Nov  3 2016 Remi Collet <remi@fedoraproject.org> - 1.2.2-1
- update to 1.2.2

* Fri Oct 21 2016 Remi Collet <remi@fedoraproject.org> - 1.2.1-2
- switch from symfony/class-loader to fedora/autoloader

* Mon Sep 12 2016 Remi Collet <remi@fedoraproject.org> - 1.2.1-1
- update to 1.2.1

* Tue Jul 19 2016 Remi Collet <remi@fedoraproject.org> - 1.2.0-1
- update to 1.2.0

* Tue Jul  5 2016 Remi Collet <remi@fedoraproject.org> - 1.2.0-0.1.RC
- update to 1.2.0-RC
- switch to justinrainbow/json-schema v2

* Sun Jun 26 2016 Remi Collet <remi@fedoraproject.org> - 1.1.3-1
- update to 1.1.3

* Wed Jun  1 2016 Remi Collet <remi@fedoraproject.org> - 1.1.2-1
- update to 1.1.2

* Tue May 31 2016 Remi Collet <remi@fedoraproject.org> - 1.1.1-2
- ensure justinrainbow/json-schema v1 is used for the build

* Tue May 17 2016 Remi Collet <remi@fedoraproject.org> - 1.1.1-1
- update to 1.1.1

* Wed May 11 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-1
- update to 1.1.0

* Sat Apr 30 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-0.1.RC
- update to 1.1.0-RC
- add dependency on composer/ca-bundle
- add dependency on psr/log
- bump composer-plugin-api to 1.1.0
- drop dependency on ca-certificates

* Sat Apr 30 2016 Remi Collet <remi@fedoraproject.org> - 1.0.3-1
- update to 1.0.3

* Thu Apr 21 2016 Remi Collet <remi@fedoraproject.org> - 1.0.2-1
- update to 1.0.2

* Tue Apr 19 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-1
- update to 1.0.1
- add dependency on ca-certificates
- fix patch for RPM path

* Tue Apr  5 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-1
- update to 1.0.0

* Tue Mar 29 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.22.beta2
- update to 1.0.0beta2

* Fri Mar  4 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.21.beta1
- update to 1.0.0beta1

* Tue Feb 23 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.20.201602git4c0e163
- new snapshot

* Sat Feb 13 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.20.20160213git7420265
- new snapshot

* Fri Feb 12 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.20.20160212git25e089e
- new snapshot
- don't relying on result order which may vary
  open https://github.com/composer/composer/pull/4912
- restore compatiblity with symfony < 2.8
  open https://github.com/composer/composer/pull/4913

* Wed Jan 27 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.19.20160127gitcd21505
- new snapshot

* Sun Jan 10 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.19.20160109gitbda2c0f
- new snapshot
- raise dependency on justinrainbow/json-schema ^1.6

* Fri Jan  8 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.18.20160106git64b0d72
- add patch for json-schema 1.6, FTBFS detected by Koschei
  open https://github.com/composer/composer/pull/4756

* Thu Jan  7 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.17.20160106git64b0d72
- new snapshot
- cleanup autoloader

* Mon Jan  4 2016 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.16.20151228git72cd6af
- new snapshot

* Tue Dec 15 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.16.20151215gitf25446e
- new snapshot
- raise dependency on seld/jsonlint ^1.4

* Sat Nov 14 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.15.alpha1
- update to 1.0.0alpha11
- run test suite with both PHP 5 and 7 when available

* Mon Nov  2 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.14.20151030git5a5088e
- new snapshot
- allow symfony 3

* Tue Oct 27 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.13.20151027gita9f7480
- new snapshot

* Wed Oct 14 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.13.20151013gita54f84f
- new snapshot
- use autoloader from all dependencies

* Sun Oct 11 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.12.20151007git7a9eb02
- new snapshot
- provide php-composer(composer-plugin-api)

* Tue Oct  6 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.12.20151004gitfcce52b
- don't check version in diagnose command

* Sun Oct  4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.11.20151004gitfcce52b
- new snapshot
- add dependency on composer/semver

* Mon Sep 21 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.10.20150920git9f2e562
- new snapshot
- add dependency on symfony/filesystem

* Tue Sep  8 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.9.20150907git9f6fdfd
- new snapshot

* Sun Aug 23 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.9.20150820gitf1aa655
- new snapshot
- add LICENSE in application data, as used by the code

* Fri Aug  7 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.8.20150804gitc83650f
- new snapshot

* Tue Jul 21 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.8.20150720git00c2679
- new snapshot
- add dependency on composer/spdx-licenses

* Thu Jul 16 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.7.20150714git92faf1c
- new snapshot
- raise dependency on justinrainbow/json-schema 1.4.4

* Mon Jun 29 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.6.20150626git943107c
- new snapshot
- review autoloader

* Sun Jun 21 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.5.20150620gitd0ff016
- new snapshot
- add missing BR on php-zip
- open https://github.com/composer/composer/pull/4169 for online test

* Mon Jun 15 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.5.20150614git8e9659b
- new snapshot

* Sun Jun  7 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.5.20150605git9fb2d4f
- new snapshot

* Tue Jun  2 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.5.20150531git0ec86be
- new snapshot

* Tue May 26 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.5.20150525git69210d5
- new snapshot
- ensure /usr/share/php is in include_path (for SCL)

* Wed May 13 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.4.20150511gitbc45d91
- new snapshot

* Mon May  4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.4.20150503git42a9561
- new snapshot
- add dependencies on seld/phar-utils and seld/cli-prompt

* Mon Apr 27 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.3.20150426git1cb427f
- new snapshot

* Fri Apr 17 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.3.20150415git921b3a0
- new snapshot
- raise dependency on justinrainbow/json-schema ~1.4
- keep upstream shebang with /usr/bin/env (for SCL)

* Thu Apr  9 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.3.20150408git4d134ce
- new snapshot
- lower dependency on justinrainbow/json-schema ~1.3

* Tue Mar 24 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.3.20150324gitc5cd184
- new snapshot
- raise dependency on justinrainbow/json-schema ~1.4

* Thu Mar 19 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.2.20150316git829199c
- new snapshot

* Wed Mar  4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.2.20150302giteadc167
- new snapshot

* Sat Feb 28 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.2.20150227git45b1f35
- new snapshot

* Thu Feb 26 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.1.20150225gite5985a9
- Initial package