Commit Graph

548 Commits

Author SHA1 Message Date
Kamil Dudka
3bf1e52ff3 Resolves: #1339135 - install -Z now sets default SELinux context for created directories 2016-07-11 17:27:02 +02:00
Kamil Dudka
3792f36ae5 Resolves: #1354078 - drop the %pre scriptlet
... which is no longer needed.  Fileutils, Shellutils, and Textutils
were merged into GNU Coreutils in 2002.  It should be safe not to handle
the transition now in 2016.
2016-07-11 17:17:36 +02:00
Kamil Dudka
e207ff79a3 Resolves: #1349579 - clarify recognition of "^COLOR.*none" in /etc/DIR_COLORS 2016-07-11 17:14:09 +02:00
Kamil Dudka
7d9e8632f3 coreutils.spec: fix the last change log entry 2016-07-11 17:13:20 +02:00
Jakub Martisko
0a63fa44ae (un)expand: UTF8-BOM header detection 2016-07-07 12:53:26 +02:00
Ondřej Vašík
34ffa2ef55 change way of detection of interactive shell in colorls.sh script 2016-06-24 12:45:22 +02:00
Kamil Dudka
ee3bfc24ca add BR for glibc-langpack-en to prevent the expand/mb test from failing 2016-06-20 16:57:49 +02:00
Kamil Dudka
0433f98b1b coreutils.spec: sort BuildRequires alphabetically
No observable changes intended.  Just to ease the maintenance.
2016-06-20 16:49:30 +02:00
Kamil Dudka
3b6df16a3d Resolves: #1348043 - do not use /bin/mv in %post
... to avoid a circular dependency.

The code where /bin/mv was used does not seem to be useful any more.
Fileutils, Shellutils, and Textutils were merged into GNU Coreutils
in 2002.  It should be safe not to handle the transition now in 2016.
2016-06-20 16:40:30 +02:00
Kamil Dudka
46ebf91d5f Related: #1335320 - maintain downstream DIR_COLOR* files as a patch
... against src/dircolors.hin rather than full copies of the file.
There should be no user-visible change introduced by this commit.

This is just to ease the maintenance -- the resulting files cannot
diverge from upstream without any notice.
2016-06-17 17:14:24 +02:00
Kamil Dudka
50e40c5f2b Resolve: #1335320 - sync /etc/DIR_COLORS with latest upstream 2016-06-17 17:13:50 +02:00
Kamil Dudka
28edec2fbc make sure that the license file is installed
... even if coreutils-common is not
2016-06-15 17:32:29 +02:00
Kamil Dudka
8236de4f4b handle info doc in RPM scriptlets of coreutils-common
... which provides it
2016-06-15 17:31:56 +02:00
Jakub Martisko
ffecc6b864 (un)expand: fix regression in handling of input files, where only the first file was processed. 2016-06-14 12:47:41 +02:00
Pádraig Brady
45ce637bf4 maint: remove build workarounds for old upstream bugs
* coreutils.spec: coreutils 8.25 fixed a couple of issues,
so remove our workarounds.
2016-04-22 14:14:54 +01:00
Ondřej Vašík
b0302efc50 adjust old i18n patch cut support for coreutils-8.25 2016-03-05 15:53:55 +01:00
Ondřej Vašík
96a98c054d Disable new i18n cut support 2016-03-05 15:28:11 +01:00
Ondřej Vašík
06a5ca2716 cut: fix regression in handling fields for lines wider than 64 chars (#1304839) 2016-02-15 12:47:08 +01:00
Lubomir Rintel
593569e76b Fix the unexpand 2016-02-11 17:56:10 +01:00
Ondřej Vašík
5440a2d9db Add new base32 binary to the list of utils 2016-02-02 15:08:35 +01:00
Ondrej Oprala
ab00e1ea64 Adjust the i18n patch for coreutils-8.25 2016-01-22 14:58:03 +01:00
Ondřej Vašík
7d9c9afa38 Initial commit for coreutils 8.25 ... still need to fix two failing tests before build (likely i18n stuff) 2016-01-20 16:43:39 +01:00
Ondrej Oprala
11e5aa1d55 cut: be MB for ALL archs 2016-01-15 11:02:13 +01:00
Ondrej Oprala
01067b2813 Use the new i18n implementation for the cut utility 2016-01-15 10:20:05 +01:00
Ondřej Vašík
452aa4a7e3 mv: prevent dataloss when source dir is specified multiple times (#1297464, by P.Brady) 2016-01-13 12:30:46 +01:00
Pádraig Brady
c553cab787 give explicit priority to coreutils over coreutils-single
Make the main coreutils package Obsoletes: coreutils-single
so that it has priority in depsolving.
2015-12-14 14:14:33 +00:00
Pádraig Brady
63c57dca19 reduce dependencies for coreutils-single
Don't depend on libcrypto from the multicall binary in
the coreutils-single package, because that trades space for speed.

Don't depend on libgmp from the multicall binary in
the coreutils-single package, because that only benefits
factor and expr.  The large size of gmp is not seen as
an appropriate tradeoff for this functionality.

Note also there is reduced startup overhead for all tools
with these removed due to not linking with the shared libs.
2015-12-04 11:04:24 +01:00
Pádraig Brady
7f1720d9a2 fix inclusion of /usr/bin/kill in coreutils-single
we need to remove /usr/bin/kill.single
2015-12-03 19:40:06 +00:00
Pádraig Brady
1f6f388ba3 avoid warning about twice specified %files 2015-12-03 19:38:51 +00:00
Ondrej Oprala
32b1e5a154 Use the new i18n implementation for expand/unexpand 2015-12-01 11:20:49 +01:00
Ondřej Vašík
8e9b3fd0aa Merge conflicts 2015-11-30 14:33:26 +01:00
Ondřej Vašík
49c29b4069 Resolves:#1286338 - coreutils-single should provide versioned coreutils 2015-11-30 14:32:27 +01:00
Pádraig Brady
5dc61e9dc1 maint: update stale comments
The comments re %post processing were for a non commited change
that created symlinks during %post that clobbered any existing binaries.
Now all files are directly managed by rpm.
2015-11-24 01:44:48 +00:00
Pádraig Brady
5fb9bc4700 split package and provide coreutils-single
Notes about coreutils:

 - Drops from 14.2MB to 5.5MB.
 - Still requires coreutils-common, though being separated
   allows for easier removal if required.
 - Explicitly conflicts with coreutils-single to avoid errant installs

Notes about coreutils-single:

 - Contains a single multicall binary which is 1.2MB
 - Have to force install over any existing coreutils package
    so best used for initial install without existing coreutils package
 - Doesn't require (but suggests) coreutils-common
    so install that manually for docs, translations, and colors etc.

Notes about coreutils-common:

 - 8.7MB
 - Having this split out gives an easy way to remove all
   docs and translations.

Note RemovePathPostfixes: introduced with rpm 4.13
is used to facilitate producing the two sets of conflicting binaries
from the same build, while maintaining appropriate --fileprovide
in each generated rpm.
2015-11-20 08:56:09 +01:00
Pádraig Brady
f0951fecac clean stale parts of the spec file 2015-11-20 08:56:09 +01:00
Kamil Dudka
c7c3ee3fab Resolves: #1259942 - fix memory leak in sort/I18N
Patches written by Pádraig.

Note that the corresponding i18n/sort-month test was not included
because it breaks unless sort is compiled -Dlint and we do not want
to decrease performance of the resulting RPMs (and valgrind is not
installed in production buildroots anyway).
2015-09-16 20:09:55 +02:00
Ondřej Vašík
2ad92d25c0 fix one still existing occurance of non-full path in colorls.sh 2015-09-12 08:00:58 +02:00
Pádraig Brady
cfbfd8c490 avoid check failure on glibc 2.22
glibc 2.22 introduces two extra stat() calls per opendir(),
which induces a false failure in a test counting stat() calls.
2015-09-01 17:32:54 +01:00
Ondřej Vašík
7b7a0554fb use newer version of sort/I18N fix for CVE-2015-4041 and CVE-2015-4042 2015-07-16 10:35:36 +02:00
Ondřej Vašík
3775f446fe new upstream release 8.24 2015-07-05 09:17:02 +02:00
Peter Robinson
1f9b908a99 Disable failing test-update-copyright to fix FTBFS 2015-07-04 11:25:51 +01:00
Dennis Gilmore
42e4196fc0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 03:15:59 +00:00
Ondřej Vašík
138c00f55f Oops, forgot to git pull, merging 2015-06-04 10:48:30 +02:00
Ondřej Vašík
58ee24949f call utilities in colorls.* scripts with full path (#1222140) 2015-06-04 10:47:11 +02:00
Kamil Dudka
e2395bc17f run 'make check' in parallel to speed up the build 2015-05-14 14:04:44 +02:00
Ondrej Oprala
7adccbb026 sort - fix buffer overflow in some case conversions
- patch by Pádraig Brady
2015-05-13 10:53:55 +02:00
Pádraig Brady
0ea2ae6357 sync/adjust LS_COLORS
* coreutils-DIR_COLORS: sync with upstream
(remove old Xiph formats, add m4a audio format).
* coreutils-DIR_COLORS.256color: Likewise.
Also sync with 8 color mode above, by removing
the specific MULTIHARDLINK coloring, and
giving MISSING symlink targets a red background.
Also lighten the DIR and EXEC color a little
(as discussed in bug 1196642)
* coreutils-DIR_COLORS.lightbgcolor: Sync terminal
types with other 2 databases above.
2015-04-20 15:29:29 +01:00
Peter Robinson
75d03ceef1 drop ChangeLog (covered in enough detail in news for averge users), drop ancient docs 2015-03-22 11:52:47 +00:00
Till Maas
0006fec2f3 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:22:06 +01:00
Ondřej Vašík
ac62214984 have the LC_TIME subdirs with lang macro (#1169027) 2014-12-01 11:59:25 +01:00
Ondřej Vašík
2f8deb0379 handle situation with ro /tmp in colorls scripts (#1149761) 2014-10-15 09:43:08 +02:00
Ondřej Vašík
cae27396ec fix the sorting in multibyte locales (NUL-terminate sort keys) - patch by Andreas Schwab (#1146185) 2014-10-01 14:49:30 +02:00
Peter Robinson
89879aa209 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 01:18:19 +00:00
Ondřej Vašík
f7c8684e5e enable smp_flags again (by B.Voelker), fix regression in chroot 2014-08-05 12:29:51 +02:00
Ondřej Vašík
734e24e1b2 disable _smp_mflags for a while- build failure 2014-07-24 16:08:28 +02:00
Ondřej Vašík
f5e87bdc05 skip df/skip-duplicates.sh test for now (passing locally, failing in koji) 2014-07-24 15:56:12 +02:00
Ondřej Vašík
df0e53f22d Fix merge conflicts 2014-07-22 14:02:48 +02:00
Ondřej Vašík
9c33d82fb4 new upstream release 8.23, synchronize the old differences in ls SELinux options with upstream 2014-07-22 14:01:39 +02:00
Tom Callaway
8246976bb3 fix license handling 2014-07-11 16:44:33 -04:00
Jakub Čajka
2af6179bec Fixed gnulib tests on ppc64(le) 2014-06-24 12:34:04 +02:00
Dennis Gilmore
8d24562387 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:55:53 -05:00
Ondřej Vašík
136250677d fix dd sparse test failure on xfs filesystem(#1085727,by P.Brady) 2014-04-12 20:38:09 -07:00
Ondřej Vašík
1240520fa1 drop the util-linux requirements (smaller docker images), drop ancient obsoletes of -libs subpackage 2014-03-05 13:52:27 +01:00
Ondřej Vašík
d700b52311 fix the date crash or infloop in TZ= parsing (#1069657, from upstream) 2014-03-02 20:45:06 +01:00
Ondřej Vašík
55f7ecdd4a cp/mv/install: do not crash when getfscreatecon() is returning a NULL context 2014-01-13 16:26:44 +01:00
Ondřej Vašík
72a0b599c4 Fix the i18n cut optimization restriction (we need UTF8 to grant uniqueness of characters and using strchr() approach), unset the unnecessary envvars after colorls scripts(#1051703) 2014-01-13 12:49:45 +01:00
Ondrej Oprala
be3c926a11 Limit the cut optimizations to UTF-8 locales only 2014-01-10 16:06:15 +01:00
Ondřej Vašík
b3c0c98841 Add changelog comment 2014-01-08 15:27:56 +01:00
Ondřej Vašík
40bc313160 Add Fedora bug reference 2014-01-08 13:03:41 +01:00
Ondrej Oprala
45bd042713 Related:#1021403 - Don't use cut mb path if not necessary 2014-01-08 13:01:49 +01:00
Ondrej Oprala
9b303ebcee Fix sorting by non-first field (#1003544) 2014-01-06 11:49:31 +01:00
Ondřej Vašík
31d3fdd040 do not modify SELinux contexts of existing parent directories when copying files (fix by P.Brady, #1045122) 2014-01-03 08:38:06 +01:00
Ondrej Oprala
d6d7448c6a reverted an old change and constricted it's condition, turned off two multibyte tests (wrong strcoll return value) 2014-01-02 21:29:29 +01:00
Ondřej Vašík
7a1c1f8975 skip even the ls aliases in noninteractive mode (suggested by T. Cordes, #988152) 2013-12-23 10:50:56 +01:00
Ondřej Vašík
94edc2ddc8 Fix the sigabrt caused by 8.22-2 2013-12-22 16:39:13 +01:00
Ondřej Vašík
f1ce0c9000 reset buffer before copying to prevent some rare cases of invalid output in join and uniq(#1036289) 2013-12-19 11:09:01 +01:00
Ondřej Vašík
3a87513acc Reduce the unnecessary SELinux stuff(included upstream), enable openssl (libcrypto) support for HASHsum utilities 2013-12-16 09:42:12 +01:00
Ondřej Vašík
bb33bc40ad New upstream version 8.22, rediff, adjusting i18n patch to work after upstream optimizations, will investigate cut.pl before build (failing df symlink check is not a regression) 2013-12-14 18:41:07 +01:00
Ondřej Vašík
595c0722d7 skip output-is-input-mb.p test - failing on armv7l (reported by B.Voelker) 2013-12-12 13:34:32 +01:00
Peter Robinson
a6b6d0c94b Add upstream patch to fix test failures on aarch64 2013-12-09 11:26:15 +00:00
Ondřej Vašík
3e3be79dfd turn on the multibyte path in the testsuite to cover i18n regressions 2013-11-28 01:24:16 +01:00
Ondřej Vašík
afe488cc19 fix possible colorls.csh script errors for tcsh with noclobber set and entered include file (#1027279) 2013-11-06 14:38:56 +01:00
Ondřej Vašík
9b2b941682 cp: correct error message for invalid arguments of '--no-preserve' (#1018206) 2013-10-14 09:58:44 +02:00
Ondřej Vašík
32c6651930 pr -e, with a mix of backspaces and TABs, could corrupt the heap in multibyte locales (analyzed by J.Koncicky) 2013-08-15 13:26:11 +02:00
Ondrej Oprala
0dcc5a0d5e sort: fix multibyte incompabilities (#821264) 2013-08-14 19:01:16 +02:00
Dennis Gilmore
bce5991c5f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 00:52:16 -05:00
Ondrej Oprala
e8fe3e1cf6 change the TMP variable name in colorls.csh to _tmp (#981373) 2013-07-17 14:30:46 +02:00
Ondřej Vašík
1ad7b8db0f revert the last change 2013-05-17 13:16:16 +02:00
Ondřej Vašík
3da08655cd argh, fridays 2013-05-17 10:09:13 +02:00
Ondřej Vašík
b87f1b2dfc fix typo 2013-05-17 09:50:40 +02:00
Ondřej Vašík
ed5396d91e require glibc-devel to prevent broken links in coreutils info manual (#959697) 2013-05-17 09:21:51 +02:00
Ville Skyttä
f0b6f85aff colorls profile script tmp file handling improvements 2013-05-08 17:25:06 +02:00
Ondrej Oprala
7bbf86f2fe Fix tmp file location in colorls scripts (#948008) 2013-04-05 13:04:52 +02:00
Ondřej Vašík
c7a1b74c04 DIR_COLORS.xterm should have higher priority than DIR_COLORS.256color (#921651) 2013-03-14 16:50:09 +01:00
Ondrej Oprala
1ad51b6276 add support for INCLUDE in colorls scripts (#818069) 2013-03-11 16:00:59 +01:00
Ondřej Vašík
76ade64f4b fix factor on AArch64 (M.Salter, #917735) 2013-03-04 18:23:34 +01:00
Ondřej Vašík
c3f2f52e74 spec file entry for new archive types colorization 2013-03-01 12:14:16 +01:00
Ondřej Vašík
bad02099bd install: do proper cleanup when strip fails (O.Oprala, B.Voekler, #632444) 2013-02-23 12:03:18 +01:00
Ondřej Vašík
bdd83b2e69 merge changes 2013-02-20 16:34:53 +01:00
Ondřej Vašík
1801957473 fix multibyte issue in unexpand(by R.Kollar, #821262) 2013-02-20 16:33:47 +01:00