[Bug 2388768] Review Request: nix - A purely functional package manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2388768



--- Comment #9 from Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> ---
I tested the following patch:

diff --git nix.spec nix.spec
index 43ed7ee4ae..da6e24b8f1 100644
--- nix.spec
+++ nix.spec
@@ -13,3 +13,3 @@ License:        LGPL-2.1-or-later
 URL:            https://github.com/NixOS/nix
-Source0:       
https://github.com/NixOS/nix/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0:       
https://github.com/NixOS/nix/archive/%{version}/%{name}-%{version}.tar.gz
 Source1:        nix.conf
@@ -135,2 +135,5 @@ cp -p %{SOURCE3} README.fedora.md

+libtag="0.$(date +%Y%m%d -d @${SOURCE_DATE_EPOCH:?})"
+perl -i -0pe "s|( library\\(.*install : true,)|\\1\\n  version :
\'${libtag}\',|smg" \
+  src/lib*/meson.build

@@ -200,3 +203,3 @@ cp %{SOURCE1} %{SOURCE2} %{buildroot}/etc/nix/
 %exclude %{_bindir}/nix-daemon
-%{_libdir}/*.so
+%{_libdir}/*.so.0{,.*}
 %{perl_vendorarch}/Nix
@@ -225,2 +228,3 @@ cp %{SOURCE1} %{SOURCE2} %{buildroot}/etc/nix/
 %{_libdir}/pkgconfig/*.pc
+%{_libdir}/*.so

It seems to do the right thing. The resulting binary works as expected and I
think it satisfies the guidelines.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2388768

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202388768%23c9

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux