Skip to content

Instantly share code, notes, and snippets.

@knokmki612
Created July 20, 2020 04:16
Show Gist options
  • Save knokmki612/002f2488fce5374d1f0f71f62ae02033 to your computer and use it in GitHub Desktop.
Save knokmki612/002f2488fce5374d1f0f71f62ae02033 to your computer and use it in GitHub Desktop.
modify path prefix from /usr/local to /usr for supporting rpm-ostree install
--- scangearmp2-source-3.70-1/scangearmp2.spec 2018-06-25 14:14:24.000000000 +0900
+++ scangearmp2-source-3.70-2/scangearmp2.spec 2020-07-20 00:12:14.484979747 +0900
@@ -1,15 +1,17 @@
%define VERSION 3.70
-%define RELEASE 1
+%define RELEASE 2
%define _arc %(getconf LONG_BIT)
%define _is64 %(if [ `getconf LONG_BIT` = "64" ] ; then printf "64"; fi)
-%define _prefix /usr/local
+%define _prefix /usr
%define _bindir %{_prefix}/bin
%define _libdir /usr/lib%{_is64}
%define CNCP_LIBS_COM libcncpmslld2 libcncpnet2 libcncpnet20 libcncpnet30
+%global debug_package %{nil}
+
Summary: ScanGear MP Ver.%{VERSION} for Linux
Name: scangearmp2
Version: %{VERSION}
@knokmki612
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment