53 Commits

Author SHA256 Message Date
c0622ceae4 Accepting request 1293073 from Education
- upstream patch to fix build with C23
- added patches
  fix build with gcc15
  + units-gcc15.patch (forwarded request 1293072 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/1293073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=39
2025-07-15 14:43:40 +00:00
6c3d66e710 - upstream patch to fix build with C23
- added patches
  fix build with gcc15
  + units-gcc15.patch

OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=50
2025-07-14 08:57:06 +00:00
ee610dc33c Accepting request 1289328 from Education
OBS-URL: https://build.opensuse.org/request/show/1289328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=38
2025-07-01 09:35:03 +00:00
5080c650cd - build with -std=gnu11 to fix build with gcc15
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=48
2025-06-30 17:13:33 +00:00
37e650c180 Accepting request 1227313 from Education
units 2.24 (forwarded request 1226666 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1227313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=37
2024-11-30 12:28:02 +00:00
cebd0be9ba Accepting request 1226666 from home:AndreasStieger:branches:Education
units 2.24

OBS-URL: https://build.opensuse.org/request/show/1226666
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=46
2024-11-29 12:26:31 +00:00
d4f9e9ee36 Accepting request 1150776 from Education
- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1150776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=36
2024-02-27 21:46:42 +00:00
e3ec395d64 - remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=44
2024-02-26 09:30:15 +00:00
1a1dca716c Accepting request 1149063 from Education
units 2.23 (forwarded request 1147648 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1149063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=35
2024-02-22 19:59:12 +00:00
a9cadd4f09 Accepting request 1147648 from home:AndreasStieger:branches:Education
units 2.23

OBS-URL: https://build.opensuse.org/request/show/1147648
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=42
2024-02-22 08:14:06 +00:00
47db4790c4 Accepting request 1046142 from Education
units 2.22 (forwarded request 1045323 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1046142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=34
2023-01-02 14:02:33 +00:00
bd1fd69ec0 Accepting request 1045323 from home:AndreasStieger:branches:Education
units 2.22

OBS-URL: https://build.opensuse.org/request/show/1045323
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=40
2023-01-02 11:24:29 +00:00
8e4ac403ce Accepting request 898269 from Education
- require python3-requests [bsc#1186820]

OBS-URL: https://build.opensuse.org/request/show/898269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=33
2021-06-09 19:52:20 +00:00
720f916443 - require python3-requests [bsc#1186820]
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=38
2021-06-08 07:12:21 +00:00
2f335aea4b - require python3-requests
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=37
2021-06-08 07:07:07 +00:00
9d74c522e1 Accepting request 878308 from Education
- use python3 by home:lorenz

OBS-URL: https://build.opensuse.org/request/show/878308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=32
2021-03-11 19:11:32 +00:00
3742c0b549 - use python3 by home:lorenz
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=35
2021-03-11 10:03:15 +00:00
49187648b6 Accepting request 877447 from home:lorenz:branches:openSUSE:Factory
Don't depend on Python 2

OBS-URL: https://build.opensuse.org/request/show/877447
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=34
2021-03-11 09:52:30 +00:00
d53291b07c Accepting request 849444 from Education
units 2.21 (forwarded request 848840 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/849444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=31
2020-11-19 15:48:03 +00:00
74553834c2 Accepting request 848840 from home:AndreasStieger:branches:Education
units 2.21

OBS-URL: https://build.opensuse.org/request/show/848840
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=32
2020-11-19 14:06:30 +00:00
b9e753cecb Accepting request 838975 from Education
units 2.20 (forwarded request 838965 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/838975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=30
2020-10-02 15:37:00 +00:00
638e451953 Accepting request 838965 from home:AndreasStieger:branches:Education
units 2.20

OBS-URL: https://build.opensuse.org/request/show/838965
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=30
2020-10-01 12:06:08 +00:00
a444c2cb91 Accepting request 720191 from Education
units 2.19 (forwarded request 720113 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/720191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=29
2019-08-05 08:37:16 +00:00
1dbeaaa638 Accepting request 720113 from home:AndreasStieger:branches:Education
units 2.19

OBS-URL: https://build.opensuse.org/request/show/720113
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=28
2019-08-01 11:44:47 +00:00
0e6cbfde5d Accepting request 644896 from Education
OBS-URL: https://build.opensuse.org/request/show/644896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=28
2018-11-10 15:56:34 +00:00
Lars Vogdt
1f6c26d042 Accepting request 644491 from home:AndreasStieger:branches:Education
units 2.18

OBS-URL: https://build.opensuse.org/request/show/644491
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=26
2018-10-26 14:44:56 +00:00
e0bbfd2cd4 Accepting request 619386 from Education
units 2.17 (forwarded request 619384 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/619386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=27
2018-06-28 13:13:48 +00:00
768e154334 Accepting request 619384 from home:AndreasStieger:branches:Education
units 2.17

OBS-URL: https://build.opensuse.org/request/show/619384
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=24
2018-06-27 11:52:05 +00:00
0b776846f8 Accepting request 538116 from Education
units 2.16 (forwarded request 538098 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/538116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=26
2017-11-03 15:25:30 +00:00
2269e8b299 Accepting request 538098 from home:AndreasStieger:branches:Education
units 2.16

OBS-URL: https://build.opensuse.org/request/show/538098
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=22
2017-11-01 14:50:19 +00:00
734a8d9317 Accepting request 484867 from Education
units 2.14
  * Eliminated parser memory management limitation affecting long
    input expressions (e.g. a sum of more than 100 units)
  * Control characters are treated as white space rather than
    producing an error about invalid UTF-8. (forwarded request 484864 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/484867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=25
2017-04-06 09:02:41 +00:00
0823d9b09f Accepting request 484864 from home:AndreasStieger:branches:Education
units 2.14
  * Eliminated parser memory management limitation affecting long
    input expressions (e.g. a sum of more than 100 units)
  * Control characters are treated as white space rather than
    producing an error about invalid UTF-8.

OBS-URL: https://build.opensuse.org/request/show/484864
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=20
2017-04-03 13:40:22 +00:00
1fdc3063a3 Accepting request 404407 from Education
units 2.13 (forwarded request 404341 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/404407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=24
2016-06-29 13:10:07 +00:00
fe908926e5 Accepting request 404341 from home:AndreasStieger:branches:Education
units 2.13

OBS-URL: https://build.opensuse.org/request/show/404341
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=18
2016-06-24 05:35:26 +00:00
Lars Vogdt
da4c08a162 Accepting request 339131 from Education
- Update to 2.12
- Cleanups spec file with spec-cleaner
- Update usage of gpg signature
- Move info scriplet to preun
- Enable units_cur builiding by default (forwarded request 339130 from pluskalm)

OBS-URL: https://build.opensuse.org/request/show/339131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=23
2015-11-13 10:18:42 +00:00
bd78a7db7f Accepting request 339130 from home:pluskalm:branches:Education
- Update to 2.12
- Cleanups spec file with spec-cleaner
- Update usage of gpg signature
- Move info scriplet to preun
- Enable units_cur builiding by default

OBS-URL: https://build.opensuse.org/request/show/339130
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=16
2015-10-15 15:08:35 +00:00
Stephan Kulow
19934e5c6c Accepting request 229340 from Education
GNU Units 2.11 (forwarded request 229322 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/229340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=21
2014-04-09 11:17:35 +00:00
012372bad0 Accepting request 229322 from home:AndreasStieger:branches:Education
GNU Units 2.11

OBS-URL: https://build.opensuse.org/request/show/229322
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=14
2014-04-08 07:41:57 +00:00
Stephan Kulow
aa3d129d6e Accepting request 228167 from Education
- install documentation files, including COPYING (forwarded request 228166 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/228167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=20
2014-03-31 18:45:15 +00:00
4f0355c4ad Accepting request 228166 from home:AndreasStieger:branches:Education
- install documentation files, including COPYING

OBS-URL: https://build.opensuse.org/request/show/228166
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=12
2014-03-29 10:05:31 +00:00
3aceff5aa6 Accepting request 227824 from home:AndreasStieger:branches:Education
GNU Units 2.10, with licence fix

OBS-URL: https://build.opensuse.org/request/show/227824
OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=11
2014-03-28 06:56:17 +00:00
Stephan Kulow
ad7e303181 Accepting request 197993 from Education
- updated to version 2.02:
  * Added support for %a and %A output formats (hexadecimal floating point), and
    eliminated the restriction on the number of displayed digits when specifying
    an output format with the --output-format (-o) option.  Improved error
    handling for formats specified with --output-format.
  * Added --digits (-d) to specify the number of digits to display.  Giving
    '--digits max' (-dmax) will use the full available precision.
  * Added support for various Unicode minus sign symbols.  Units now treats the
    figure dash (U+2012), the en dash (U+2013), and the minus (U+2212) as
    identical to the ASCII hyphen/minus symbol (U+002D).
  * The !message command in units data files has been fixed so it does not
    produce output when the --quiet option is given.
  * Improved error handling when unit names end with numbers without a '_'.
  * Modified units_cur to work with XML format as the txt format disappeared.
  * Corrected error in definition of the nat.
  * Improved manual.
- employ gpg-offline

OBS-URL: https://build.opensuse.org/request/show/197993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=18
2013-09-11 11:23:20 +00:00
423c8d7fa7 - updated to version 2.02:
* Added support for %a and %A output formats (hexadecimal floating point), and
    eliminated the restriction on the number of displayed digits when specifying
    an output format with the --output-format (-o) option.  Improved error
    handling for formats specified with --output-format.
  * Added --digits (-d) to specify the number of digits to display.  Giving
    '--digits max' (-dmax) will use the full available precision.
  * Added support for various Unicode minus sign symbols.  Units now treats the
    figure dash (U+2012), the en dash (U+2013), and the minus (U+2212) as
    identical to the ASCII hyphen/minus symbol (U+002D).
  * The !message command in units data files has been fixed so it does not
    produce output when the --quiet option is given.
  * Improved error handling when unit names end with numbers without a '_'.
  * Modified units_cur to work with XML format as the txt format disappeared.
  * Corrected error in definition of the nat.
  * Improved manual.
- employ gpg-offline

OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=9
2013-09-09 10:16:36 +00:00
Ismail Dönmez
ea4f23153d Accepting request 140620 from Education
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/140620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=16
2012-11-08 20:54:19 +00:00
cb14a079cb - updated to version 2.01:
* Fixed error in electronmass
    * New definition for au
    * Fixed DESTDIR support for installation
    * Changed configure script for success with Solaris
    * Small changes to manual
- removed build.patch

OBS-URL: https://build.opensuse.org/package/show/Education/units?expand=0&rev=7
2012-11-01 08:36:34 +00:00
Ismail Dönmez
a3fa5fbb8c Accepting request 130316 from Education
- updated to version 2.00:
    General changes:
    * Unit lists provide conversion to sums of units (e.g. feet and inches).
    * Added --round (-r) and --show-factor (-S) options for use with unit lists.
    * Added unit lists aliases (e.g. time, usvol).
    * A python script, units_cur, can update currency data.
    * Units now flushes its output so you can talk to it with a pipe. 
    * Units now works in UTF-8 if the system supports it.  
    * Added --locale (-l) option to set the locale.
    * English units such as the gallon are defined in all locales, with US
      definitions by default except in the en_BG locale.  You can force
      the desired definition (Great Britain or US) by setting the
      environment variable UNITS_ENGLISH to GB or US.  
    * Revised and extended the documentation, with more examples. 
    * Added locale mapping to address Windows locale names. 
    * Updated and revised units database, including UTF-8 definitions and
      the 2010 CODATA. 
    * Fixed parsing bug for "1..2" or "1.2.3".  These now give an error. 
    * Unit names can end with a number in the form of a subscript that
      starts with a '_', as in 'X_3'.  
    Changes for units definition files:
    * Changed location and names of unit database, splitting off currency
      Files are /usr/local/share/units/{definitions,currency}.units and
      the personal units file is $HOME/.units instead of $HOME/units.dat.  
    * Personal units filename can be changed with MYUNITSFILE environment variable.
    * Prefixes can be defined in any order: it is no longer necessary to
      define longer ones before shorter ones.  
    * New definitions replace previous ones.  Personal units file is read
      after the system file rather than before.  
    * Changed syntax for function definitions.  Instead of [in-unit,out-unit]

OBS-URL: https://build.opensuse.org/request/show/130316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=15
2012-08-07 19:51:59 +00:00
Stephan Kulow
698745ae6d replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=13
2011-12-06 18:10:32 +00:00
OBS User autobuild
07fff8447a Accepting request 46301 from Education
Copy from Education/units based on submit request 46301 from user pgajdos

OBS-URL: https://build.opensuse.org/request/show/46301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=10
2010-08-27 14:06:30 +00:00
OBS User autobuild
a157f9656c OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=7 2010-03-18 15:33:42 +00:00
OBS User unknown
b47c9782eb OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/units?expand=0&rev=5 2009-06-18 22:18:19 +00:00