diff --git a/dateutils.changes b/dateutils.changes index d9f95d6..b5b8faa 100644 --- a/dateutils.changes +++ b/dateutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 21 18:58:49 UTC 2021 - Andreas Stieger + +- add upstream signing key +- simplify spec file + ------------------------------------------------------------------- Wed Feb 17 14:55:42 UTC 2021 - Michael Vetter diff --git a/dateutils.keyring b/dateutils.keyring new file mode 100644 index 0000000..d5beea8 --- /dev/null +++ b/dateutils.keyring @@ -0,0 +1,86 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBDygRcARBACtXSTh2PHXVHjy8ydxlMd34l1T8QXE0b408qUi7mWDsFZHg9i0 +d3AnKdZLDBpjYxknjSkILM94QChhx9Kp4EPaPXo71vAP4Uo/6AUbuoVyIazqeCeu +CSUzWMpss2TsPkRc6NcsFZHDOSSG/Oc2K2JPDniq9H0mQipt8H3uHxcNTwCgjvvp +xG0D5TN0BCuohn36zygZsAEEAJpjOE1ib+LFvsTvd07NxC09xnKuQN3rAgXOQlIT ++Odjo90e/foqiuB5UDjFtzfXWck9f1qDHHwzWcR8qdedag156w9RW5fM9w/MCrcD +JDhuTWXDP455ctWXt1ctqWcMW/g4fbRruXguNHCzREd4QdChyTGTOoR6CKeDHVfu +EvAlBACgaj4s0Im9F7wwXYRt9QBwqU8X72CHg82wOODeH6VmxKST2+bu3+4Uj5t2 +x31oWdSqwHeozpHyHqLTiwRNhBNEJSnSp+1Fp032TuUggtcU0ZQwoJnCTf0ikD8p +SvfhVOHRQ9lA7wI8wh8OzP1/HY9b4d8q4NLDWlnRXwgownqPH7QeU2ViYXN0aWFu +IEZyZXVuZHQgPHNAZnJuZHQuZGU+iGIEExECACIFAlLfiA0CGyMGCwkIBwMCBhUI +AgkKCwQWAgMBAh4BAheAAAoJEJTJoayCyTkOAcQAn0a53EQ4yyUdxQ7mZqBK6MN0 +y8VAAJ0Z4DwQrdEZ89sCOwyQhPjUBcd+X7QlU2ViYXN0aWFuIEZ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SN7gBX3zNoPusVMJdjePgS9yGootE+SPWHdeahUrtgicGBf8 ++v5QY32gVebN6JSxnAmjPqmBjVU9tSF0Iig6Ida1RN3nEyyrZCHkgU/XqFmvd646 +m+4U3N4PII58W5cyhuUolaDX0ztqZ42NP3aQYCwGqIeq98e9eLH+imgBP3d8YPgx +3wkHFYscv4hOBBgRAgAGBQI8oEYiABIJEJTJoayCyTkOB2VHUEcAAQHApwCeJ8oe +sOnc4EeI0TW0NxSRstPVCpAAn0Uor1Ack9Qy9RsZ9jCfJchIvJDL +=HvRP +-----END PGP PUBLIC KEY BLOCK----- diff --git a/dateutils.spec b/dateutils.spec index 7d6de04..ad012f9 100644 --- a/dateutils.spec +++ b/dateutils.spec @@ -25,11 +25,10 @@ Group: Productivity/Text/Utilities URL: https://github.com/hroptatyr/dateutils/ 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 +Source2: %{name}.keyring BuildRequires: octave-devel BuildRequires: pkgconfig BuildRequires: timezone -Requires(post): info -Requires(pre): info %description Dateutils are a bunch of tools that revolve around fiddling with dates @@ -54,7 +53,7 @@ Dateutils can be used from within matlab or ocatave. %build %configure \ --enable-contrib -make %{?_smp_mflags} V=1 +%make_build %install %make_install @@ -62,60 +61,15 @@ rm -rf %{buildroot}%{_datadir}/doc/dateutils rm -rf %{buildroot}%{_libdir}/octave/site/oct/*/dateutils/tzconv.la %check -make %{?_smp_mflags} check - -%post -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info* - -%postun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info* +%make_build check %files %license LICENSE %doc README.md -%{_bindir}/dadd -%{_bindir}/dconv -%{_bindir}/ddiff -%{_bindir}/dgrep -%{_bindir}/dround -%{_bindir}/dseq -%{_bindir}/dsort -%{_bindir}/dtest -%{_bindir}/dzone -%{_bindir}/dateadd -%{_bindir}/dateconv -%{_bindir}/datediff -%{_bindir}/dategrep -%{_bindir}/dateround -%{_bindir}/dateseq -%{_bindir}/datesort -%{_bindir}/datetest -%{_bindir}/datezone -%{_bindir}/strptime -%dir %{_datadir}/dateutils/ -%{_datadir}/dateutils/locale -%{_datadir}/dateutils/*.tzmcc +%{_bindir}/* +%{_datadir}/dateutils/ +%{_mandir}/man1/* %{_infodir}/%{name}.info%{?ext_info} -%{_mandir}/man1/%{name}.1%{?ext_man} -%{_mandir}/man1/dadd.1%{?ext_man} -%{_mandir}/man1/dconv.1%{?ext_man} -%{_mandir}/man1/ddiff.1%{?ext_man} -%{_mandir}/man1/dgrep.1%{?ext_man} -%{_mandir}/man1/dround.1%{?ext_man} -%{_mandir}/man1/dseq.1%{?ext_man} -%{_mandir}/man1/dsort.1%{?ext_man} -%{_mandir}/man1/dtest.1%{?ext_man} -%{_mandir}/man1/dzone.1%{?ext_man} -%{_mandir}/man1/dateadd.1%{?ext_man} -%{_mandir}/man1/dateconv.1%{?ext_man} -%{_mandir}/man1/datediff.1%{?ext_man} -%{_mandir}/man1/dategrep.1%{?ext_man} -%{_mandir}/man1/dateround.1%{?ext_man} -%{_mandir}/man1/dateseq.1%{?ext_man} -%{_mandir}/man1/datesort.1%{?ext_man} -%{_mandir}/man1/datetest.1%{?ext_man} -%{_mandir}/man1/datezone.1%{?ext_man} -%{_mandir}/man1/strptime.1%{?ext_man} %files octave %dir %{_libdir}/octave/site/oct/*/dateutils/