diff options
author | Anssi Hannula <anssi@mageia.org> | 2011-12-08 05:57:23 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mageia.org> | 2011-12-08 05:57:23 +0000 |
commit | 8f3d9141676c6996f59d0f9d8243c35b630e1322 (patch) | |
tree | 5b4860b9a2def68e4cfe49619682e5667a90522d | |
parent | a4d5f5edff7453a4afac385d8046afd305bd50a1 (diff) | |
download | rpm-setup-8f3d9141676c6996f59d0f9d8243c35b630e1322.tar rpm-setup-8f3d9141676c6996f59d0f9d8243c35b630e1322.tar.gz rpm-setup-8f3d9141676c6996f59d0f9d8243c35b630e1322.tar.bz2 rpm-setup-8f3d9141676c6996f59d0f9d8243c35b630e1322.tar.xz rpm-setup-8f3d9141676c6996f59d0f9d8243c35b630e1322.zip |
fix changelog truncation to 3 years to work with rpm.org
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | macros.in | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,4 @@ +- fix changelog truncation to 3 years to work with rpm.org Version 1.145 - 08 Nov 2011, by Jerome Quelin - Add Java macros from JPackage ( %create_jar_links(), %remove_java_binaries, and gcj functions ) @@ -19,7 +19,8 @@ %_host %{_host_cpu}-%{_real_vendor}-%{_host_os}%{?_gnu} -%_changelog_truncate 3 years ago +# automatic truncation of changelogs to 3 years +%_changelog_trimtime %{lua:print(os.time() - 3 * 365 * 86400)} # use LZMA to compress binary packages: %_binary_payload w5.lzdio |