commit aa06afaf0e235c7ff6a42f1693de753120bbc56c
parent a3d2c43fbac6be0848e9388ccc96a27076a7b0ed
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Mon, 26 Sep 2022 20:51:45 +0900
v0.17.6
Diffstat:
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/rpmbuild/SPECS/gnunet.spec b/rpmbuild/SPECS/gnunet.spec
@@ -3,8 +3,8 @@
%global debug_package %{nil}
Name: gnunet
-Version: 0.17.5
-Release: 2%{?dist}
+Version: 0.17.6
+Release: 1%{?dist}
Summary: Framework for secure peer-to-peer networking
License: AGPLv3
Group: Productivity/Networking/File-Sharing
@@ -13,7 +13,7 @@ URL: https://%{name}.org
Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Source2: https://www.gnunet.org/~schanzen/schanzen.asc
-%define SHA512SUM0 02c6deac7d5008df4a6b2783a954cf7cd2432669ca2d5c872421cb9ee52ebffc3f8302f68535dcb13745751b5f68277a438e4710bd5ac8709ef933d75b2ed70c
+%define SHA512SUM0 1cd1793d1e6c689131ef8ada4e41fe6b559c43170ee32fada381c3358c7c815e7837881f546bbd18bee6e7635a34ff1702cd7c59c74e986d154712cc705edbc4
BuildRequires: libtool
BuildRequires: libtool-ltdl
BuildRequires: libtool-ltdl-devel
@@ -191,16 +191,13 @@ getent group %{name}dns >/dev/null || /usr/sbin/groupadd -r %{name}dns
getent passwd %{name} >/dev/null || useradd -r -g %{name} -G %{name}dns -m -d %{gnunethome} %{gnunetuser} -c "GNUnet system account"
exit 0
-# The sed replacements can be removed for 0.17.6
%install
make install DESTDIR=%{buildroot}
-sed -i 's/\/usr\/lib/\/usr\/lib64/' "contrib/services/systemd/%{name}.service"
-sed -i 's/SYSTEM_ONLY/START_SYSTEM_SERVICE/' "contrib/conf/gnunet/gnunet-system.conf"
-sed -i 's/USER_ONLY/START_USER_SERVICE/' "contrib/conf/gnunet/gnunet-system.conf"
install -Dm644 "contrib/services/systemd/%{name}.service" "%{buildroot}/%{_unitdir}/%{name}.service"
-sed -i 's/\/usr\/lib/\/usr\/lib64/' "contrib/services/systemd/%{name}-user.service"
install -Dm644 "contrib/services/systemd/%{name}-user.service" "%{buildroot}/%{_userunitdir}/%{name}-user.service"
install -Dm644 "contrib/conf/gnunet/gnunet-system.conf" %{buildroot}/%{_sysconfdir}/gnunet.conf
+# Remove the dir file like, e.g., bash.
+rm -f %{buildroot}%{_infodir}/dir
%check
#make check
@@ -349,7 +346,6 @@ touch ~/.config/gnunet.conf
%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_gns.so
%{_usr}/%{_lib}/%{name}/libgnunet_plugin_gnsrecord_reclaim.so
%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namecache_sqlite.so
-%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namestore_flat.so
%{_usr}/%{_lib}/%{name}/libgnunet_plugin_namestore_sqlite.so
%{_usr}/%{_lib}/%{name}/libgnunet_plugin_peerstore_sqlite.so
%{_usr}/%{_lib}/%{name}/libgnunet_plugin_reclaim_attribute_basic.so
@@ -846,6 +842,7 @@ touch ~/.config/gnunet.conf
%files doc
%{_defaultdocdir}/%{name}/html
+%{_infodir}/gnunet.info.gz
%files -n libgnunet-devel
%{_libdir}/libgnunetsq.so
@@ -925,6 +922,8 @@ touch ~/.config/gnunet.conf
%{_mandir}/man1/gnunet-ecc.1.gz
%changelog
+* Fri Sep 26 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.6
+- Version bump
* Fri Sep 09 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.5
- Add systemd scripts
* Sun Sep 04 2022 Martin Schanzenbach <schanzen@gnunet.org> - 0.17.5