Accepting request 637417 from utilities
OBS-URL: https://build.opensuse.org/request/show/637417 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dateutils?expand=0&rev=22
This commit is contained in:
commit
cc19ca05f5
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v2
|
|
||||||
|
|
||||||
iEYEABECAAYFAltxYX8ACgkQlMmhrILJOQ7VngCePXVR1LcIFLO6OJiv4iGjXONr
|
|
||||||
Vz8Anj5TZk065ZpgsHLnZyk58mVKdB9O
|
|
||||||
=zIdE
|
|
||||||
-----END PGP SIGNATURE-----
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a9cc2efbb10681130ac725946984e12330e94f43877d865d7f5c131dcf09c84f
|
|
||||||
size 635696
|
|
7
dateutils-0.4.5.tar.asc
Normal file
7
dateutils-0.4.5.tar.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v2
|
||||||
|
|
||||||
|
iEYEABECAAYFAlujSZUACgkQlMmhrILJOQ5n/QCgg1Rqqp3I7UzNpKYTvgo7lTfE
|
||||||
|
tXkAn1TbmJexq6NghVDusYXJVsZWmZ7I
|
||||||
|
=h03C
|
||||||
|
-----END PGP SIGNATURE-----
|
3
dateutils-0.4.5.tar.xz
Normal file
3
dateutils-0.4.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:16d6a0fe7b7d49ddbb303f33538dd7304a0d4af5a0369bcbf275db6a5060cbde
|
||||||
|
size 635908
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 21 14:14:26 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Simplify conditions
|
||||||
|
- Run spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 20 11:08:48 UTC 2018 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- Update to 0.4.5:
|
||||||
|
* dgrep accepts %c as qualifier in expressions (issue 81)
|
||||||
|
* tests work regardless of wall clock time (issue 84)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 25 18:31:39 UTC 2018 - jengelh@inai.de
|
Sat Aug 25 18:31:39 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
105
dateutils.spec
105
dateutils.spec
@ -12,45 +12,23 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define have_octave 0
|
|
||||||
%if 0%{?suse_version} >= 1220 && 0%{?suse_version} != 1315
|
|
||||||
%define have_octave 1
|
|
||||||
%ifarch aarch64
|
|
||||||
%if 0%{?suse_version} <= 1310
|
|
||||||
%define have_octave 0
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%ifnarch i586 x86_64
|
|
||||||
%if 0%{?suse_version} < 1310
|
|
||||||
%define have_octave 0
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if 0%{?fedora_version} >= 19
|
|
||||||
%define have_octave 1
|
|
||||||
%endif
|
|
||||||
Name: dateutils
|
Name: dateutils
|
||||||
Version: 0.4.4
|
Version: 0.4.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Command line date and time utilities
|
Summary: Command line date and time utilities
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Url: https://github.com/hroptatyr/dateutils/
|
URL: https://github.com/hroptatyr/dateutils/
|
||||||
Source: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||||
Source1: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.asc
|
Source1: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.asc
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: xz
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
BuildRequires: timezone
|
|
||||||
%endif
|
|
||||||
%if %{have_octave}
|
|
||||||
BuildRequires: octave-devel
|
BuildRequires: octave-devel
|
||||||
%endif
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: timezone
|
||||||
|
Requires(post): info
|
||||||
Requires(pre): info
|
Requires(pre): info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -75,36 +53,26 @@ Dateutils can be used from within matlab or ocatave.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--enable-contrib
|
||||||
%if %{have_octave}
|
|
||||||
--enable-contrib \
|
|
||||||
%endif
|
|
||||||
ignorethisline=xxx
|
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
|
%make_install
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -rf %{buildroot}%{_datadir}/doc/dateutils
|
||||||
rm -f %{buildroot}%{_libdir}/octave/site/oct/*/dateutils/tzconv.la
|
rm -rf %{buildroot}%{_libdir}/octave/site/oct/*/dateutils/tzconv.la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if ! make check; then
|
make %{?_smp_mflags} check
|
||||||
cat test/test-suite.log
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# How to make that info stuff portable?
|
|
||||||
%if 0%{?install_info:1} > 0
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info*
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info*
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info*
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info*
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc %{_docdir}/%{name}
|
%doc README.md
|
||||||
%{_bindir}/dadd
|
%{_bindir}/dadd
|
||||||
%{_bindir}/dconv
|
%{_bindir}/dconv
|
||||||
%{_bindir}/ddiff
|
%{_bindir}/ddiff
|
||||||
@ -127,34 +95,31 @@ fi
|
|||||||
%dir %{_datadir}/dateutils/
|
%dir %{_datadir}/dateutils/
|
||||||
%{_datadir}/dateutils/locale
|
%{_datadir}/dateutils/locale
|
||||||
%{_datadir}/dateutils/*.tzmcc
|
%{_datadir}/dateutils/*.tzmcc
|
||||||
%{_infodir}/%{name}.info*
|
%{_infodir}/%{name}.info%{?ext_info}
|
||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
%{_mandir}/man1/dadd.1*
|
%{_mandir}/man1/dadd.1%{?ext_man}
|
||||||
%{_mandir}/man1/dconv.1*
|
%{_mandir}/man1/dconv.1%{?ext_man}
|
||||||
%{_mandir}/man1/ddiff.1*
|
%{_mandir}/man1/ddiff.1%{?ext_man}
|
||||||
%{_mandir}/man1/dgrep.1*
|
%{_mandir}/man1/dgrep.1%{?ext_man}
|
||||||
%{_mandir}/man1/dround.1*
|
%{_mandir}/man1/dround.1%{?ext_man}
|
||||||
%{_mandir}/man1/dseq.1*
|
%{_mandir}/man1/dseq.1%{?ext_man}
|
||||||
%{_mandir}/man1/dsort.1*
|
%{_mandir}/man1/dsort.1%{?ext_man}
|
||||||
%{_mandir}/man1/dtest.1*
|
%{_mandir}/man1/dtest.1%{?ext_man}
|
||||||
%{_mandir}/man1/dzone.1*
|
%{_mandir}/man1/dzone.1%{?ext_man}
|
||||||
%{_mandir}/man1/dateadd.1*
|
%{_mandir}/man1/dateadd.1%{?ext_man}
|
||||||
%{_mandir}/man1/dateconv.1*
|
%{_mandir}/man1/dateconv.1%{?ext_man}
|
||||||
%{_mandir}/man1/datediff.1*
|
%{_mandir}/man1/datediff.1%{?ext_man}
|
||||||
%{_mandir}/man1/dategrep.1*
|
%{_mandir}/man1/dategrep.1%{?ext_man}
|
||||||
%{_mandir}/man1/dateround.1*
|
%{_mandir}/man1/dateround.1%{?ext_man}
|
||||||
%{_mandir}/man1/dateseq.1*
|
%{_mandir}/man1/dateseq.1%{?ext_man}
|
||||||
%{_mandir}/man1/datesort.1*
|
%{_mandir}/man1/datesort.1%{?ext_man}
|
||||||
%{_mandir}/man1/datetest.1*
|
%{_mandir}/man1/datetest.1%{?ext_man}
|
||||||
%{_mandir}/man1/datezone.1*
|
%{_mandir}/man1/datezone.1%{?ext_man}
|
||||||
%{_mandir}/man1/strptime.1*
|
%{_mandir}/man1/strptime.1%{?ext_man}
|
||||||
|
|
||||||
%if %{have_octave}
|
|
||||||
%files octave
|
%files octave
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_libdir}/octave/site/oct/*/dateutils/
|
%dir %{_libdir}/octave/site/oct/*/dateutils/
|
||||||
%{_libdir}/octave/site/oct/*/dateutils/tzconv.m
|
%{_libdir}/octave/site/oct/*/dateutils/tzconv.m
|
||||||
%{_libdir}/octave/site/oct/*/dateutils/tzconv.mex
|
%{_libdir}/octave/site/oct/*/dateutils/tzconv.mex
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user