pagure pushed to lua (master). "Refactor macros into lua-rpm-macros
(..more)"
by notifications@fedoraproject.org
Notification time stamped 2020-09-01 00:34:22 UTC
From a043d076145dced7e4f903e14ce04db719c352ab Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Sep 01 2020 00:27:50 +0000
Subject: Refactor macros into lua-rpm-macros
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/lua.attr b/lua.attr
deleted file mode 100644
index a433266..0000000
--- a/lua.attr
+++ /dev/null
@@ -1,19 +0,0 @@
-%__lua_requires() %{lua:
- -- Match buildroot paths of the form
- -- /PATH/OF/BUILDROOT/usr/lib(64)/lua/MAJOR.MINOR/ and
- -- /PATH/OF/BUILDROOT/usr/share/pythonMAJOR.MINOR/
- -- generating a line of the form:
- -- lua(abi) = MAJOR.MINOR
- local path = rpm.expand('%1')
- local datadir = rpm.expand('%_datadir')
- local libdir = rpm.expand('%_libdir')
- for i, dir in ipairs({datadir, libdir}) do
- if path:match(dir .. '/lua/%d+%.%d+/.*') then
- local requires = path:gsub('.*' .. dir .. '/lua/(%d+%.%d+)/.*', 'lua(abi) = %1')
- print(requires)
- break
- end
- end
-}
-
-%__lua_path ^(%{_datadir}|%{_libdir})/lua/[[:digit:]]+\\.[[:digit:]]+/.+
diff --git a/lua.spec b/lua.spec
index be9d603..ae53132 100644
--- a/lua.spec
+++ b/lua.spec
@@ -15,7 +15,7 @@
Name: lua
Version: %{major_version}.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Powerful light-weight programming language
License: MIT
URL: http://www.lua.org/
@@ -28,10 +28,6 @@ Source2: http://www.lua.org/ftp/lua-%{bootstrap_version}.tar.gz
Source3: http://www.lua.org/tests/lua-%{test_version}-tests.tar.gz
# multilib
Source4: luaconf.h
-# rpm-macro
-Source1000: macros.lua
-# rpm-generator
-Source1001: lua.attr
Patch0: %{name}-5.4.0-beta-autotoolize.patch
Patch1: %{name}-5.3.0-idsize.patch
#Patch2: %%{name}-5.3.0-luac-shared-link-fix.patch
@@ -76,6 +72,9 @@ configuration, scripting, and rapid prototyping.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
+# The RPM related dependencies bring nothing to a non-RPM Lua developer
+# But we want them when packages BuildRequire lua-devel
+Requires: (lua-rpm-macros if rpm-build)
Requires: pkgconfig
%description devel
@@ -206,10 +205,6 @@ rm -rf $RPM_BUILD_ROOT/installdir
popd
%endif
-# Install rpm-macro and requires generator
-install -Dpm 0644 %{SOURCE1000} $RPM_BUILD_ROOT/%{macrosdir}/macros.lua
-install -Dpm 0644 %{SOURCE1001} $RPM_BUILD_ROOT/%{_fileattrsdir}/lua.attr
-
%files
%{!?_licensedir:%global license %%doc}
%license mit.txt
@@ -237,15 +232,14 @@ install -Dpm 0644 %{SOURCE1001} $RPM_BUILD_ROOT/%{_fileattrsdir}/lua.attr
%{_includedir}/l*.hpp
%{_libdir}/liblua.so
%{_libdir}/pkgconfig/*.pc
-%dir %{macrosdir}
-%{macrosdir}/macros.lua
-%dir %{_fileattrsdir}
-%{_fileattrsdir}/lua.attr
%files static
%{_libdir}/*.a
%changelog
+* Mon Aug 31 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 5.4.0-7
+- Refactor macros into lua-rpm-macros
+
* Wed Aug 19 2020 Tom Callaway <spot(a)fedoraproject.org> - 5.4.0-6
- apply upstream fix for CVE-2020-24370, CVE-2020-24371
diff --git a/macros.lua b/macros.lua
deleted file mode 100644
index 46656d6..0000000
--- a/macros.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-%lua_version %{lua: print(string.sub(_VERSION, 5))}
-
-%lua_libdir %{_libdir}/lua/%{lua_version}
-%lua_pkgdir %{_datadir}/lua/%{lua_version}
-
-%lua_requires \
-%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 \
-Requires: lua(abi) = %{lua_version} \
-%else \
-Requires: lua >= %{lua_version} \
-Requires: lua < %{lua: os.setlocale('C'); print(string.sub(_VERSION, 5) + 0.1)} \
-%endif \
-%{nil}
https://src.fedoraproject.org/rpms/lua/c/a043d076145dced7e4f903e14ce04db7...
3 years, 7 months
salimma pushed to lua-rpm-macros (master). "Initial import (..more)"
by notifications@fedoraproject.org
Notification time stamped 2020-09-01 00:21:45 UTC
From 2165bb7a44bd3cd71eee2c053e38cc7482b81661 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Sep 01 2020 00:21:24 +0000
Subject: Initial import
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..1b61d22
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,16 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the “Software”), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/lua-rpm-macros.spec b/lua-rpm-macros.spec
new file mode 100644
index 0000000..24fce33
--- /dev/null
+++ b/lua-rpm-macros.spec
@@ -0,0 +1,92 @@
+%if 0%{?el8}
+# RHEL's lua-devel ships macros.lua and lua.attr
+# skip shipping lua-rpm-macros so we don't conflict
+%bcond_with rpm_macros
+%else
+%bcond_without rpm_macros
+%endif
+
+%if 0%{?fedora} >= 33
+# requires RPM >= 4.16
+%bcond_without requires_generator
+%else
+%bcond_with requires_generator
+%endif
+
+Name: lua-rpm-macros
+Version: 1
+Release: 2%{?dist}
+Summary: The common Lua RPM macros
+
+License: MIT
+
+# Macros:
+Source101: macros.lua
+Source102: macros.lua-srpm
+
+# RPM requires generator
+Source103: lua.attr
+
+# license text
+Source200: LICENSE
+
+BuildArch: noarch
+
+# for lua_libdir and lua_pkgdir
+Requires: lua-srpm-macros = %{version}-%{release}
+
+%description
+This package contains Lua RPM macros.
+
+You should not need to install this package manually as lua-devel requires it.
+
+
+%package -n lua-srpm-macros
+Summary: RPM macros for building Lua source packages
+
+# For directory structure
+Requires: redhat-rpm-config
+
+%description -n lua-srpm-macros
+RPM macros for building Lua source packages.
+
+
+%prep
+%autosetup -c -T
+cp -a %{sources} .
+%if %{without rpm_macros}
+rm macros.lua
+%endif
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{rpmmacrodir}
+install -pm 644 macros.* %{buildroot}%{rpmmacrodir}/
+%if %{with requires_generator}
+install -Dpm 0644 lua.attr %{buildroot}/%{_fileattrsdir}/lua.attr
+%endif
+
+
+%if %{with rpm_macros}
+%files
+%license LICENSE
+%if %{with requires_generator}
+%{_fileattrsdir}/lua.attr
+%endif
+%{rpmmacrodir}/macros.lua
+%endif
+
+%files -n lua-srpm-macros
+%license LICENSE
+%{rpmmacrodir}/macros.lua-srpm
+
+
+%changelog
+* Mon Aug 31 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 1-2
+- Also move lua.attr requires generator
+
+* Fri Aug 28 2020 Michel Alexandre Salim <salimma(a)fedoraproject.org> - 1-1
+- Initial package
diff --git a/lua.attr b/lua.attr
new file mode 100644
index 0000000..a433266
--- /dev/null
+++ b/lua.attr
@@ -0,0 +1,19 @@
+%__lua_requires() %{lua:
+ -- Match buildroot paths of the form
+ -- /PATH/OF/BUILDROOT/usr/lib(64)/lua/MAJOR.MINOR/ and
+ -- /PATH/OF/BUILDROOT/usr/share/pythonMAJOR.MINOR/
+ -- generating a line of the form:
+ -- lua(abi) = MAJOR.MINOR
+ local path = rpm.expand('%1')
+ local datadir = rpm.expand('%_datadir')
+ local libdir = rpm.expand('%_libdir')
+ for i, dir in ipairs({datadir, libdir}) do
+ if path:match(dir .. '/lua/%d+%.%d+/.*') then
+ local requires = path:gsub('.*' .. dir .. '/lua/(%d+%.%d+)/.*', 'lua(abi) = %1')
+ print(requires)
+ break
+ end
+ end
+}
+
+%__lua_path ^(%{_datadir}|%{_libdir})/lua/[[:digit:]]+\\.[[:digit:]]+/.+
diff --git a/macros.lua b/macros.lua
new file mode 100644
index 0000000..b867749
--- /dev/null
+++ b/macros.lua
@@ -0,0 +1,2 @@
+%lua_libdir %{_libdir}/lua/%{lua_version}
+%lua_pkgdir %{_datadir}/lua/%{lua_version}
diff --git a/macros.lua-srpm b/macros.lua-srpm
new file mode 100644
index 0000000..da3c185
--- /dev/null
+++ b/macros.lua-srpm
@@ -0,0 +1,10 @@
+%lua_version %{lua: print(string.sub(_VERSION, 5))}
+
+%lua_requires \
+%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 \
+Requires: lua(abi) = %{lua_version} \
+%else \
+Requires: lua >= %{lua_version} \
+Requires: lua < %{lua: os.setlocale('C'); print(string.sub(_VERSION, 5) + 0.1)} \
+%endif \
+%{nil}
https://src.fedoraproject.org/rpms/lua-rpm-macros/c/2165bb7a44bd3cd71eee2...
3 years, 7 months
melmorabity pushed to emacs-flycheck (master). "First import"
by notifications@fedoraproject.org
Notification time stamped 2020-09-01 00:13:37 UTC
From 0be9eed1f5f2c24e8fa8e0bd091629250959ce67 Mon Sep 17 00:00:00 2001
From: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sep 01 2020 00:13:28 +0000
Subject: First import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a09b3e0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/emacs-flycheck-31.tar.gz
diff --git a/emacs-flycheck.spec b/emacs-flycheck.spec
new file mode 100644
index 0000000..e882ab9
--- /dev/null
+++ b/emacs-flycheck.spec
@@ -0,0 +1,53 @@
+%global pkg flycheck
+
+Name: emacs-%{pkg}
+Version: 31
+Release: 1%{?dist}
+Summary: On the fly syntax checking for GNU Emacs
+
+License: GPLv3+
+URL: https://www.flycheck.org/
+Source0: https://github.com/%{pkg}/%{pkg}/archive/%{version}/%{name}-%{version}.ta...
+Source1: %{pkg}-init.el
+
+BuildRequires: emacs
+BuildRequires: emacs-dash
+BuildRequires: emacs-pkg-info
+Requires: emacs(bin) >= %{_emacs_version}
+Requires: emacs-dash
+Requires: emacs-pkg-info
+BuildArch: noarch
+
+%description
+Flycheck is a modern on-the-fly syntax checking extension for GNU Emacs,
+intended as replacement for the older Flymake extension which is part of GNU
+Emacs.
+
+
+%prep
+%autosetup -n %{pkg}-%{version}
+
+
+%build
+for i in *.el; do
+ %{_emacs_bytecompile} $i
+done
+
+
+%install
+install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
+install -pm 0644 *.el* -t $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
+
+install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.el
+
+
+%files
+%doc CHANGES.old CHANGES.rst MAINTAINERS README.md
+%license COPYING
+%{_emacs_sitelispdir}/%{pkg}/
+%{_emacs_sitestartdir}/*.el
+
+
+%changelog
+* Thu Aug 20 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 31-1
+- Initial RPM release
diff --git a/flycheck-init.el b/flycheck-init.el
new file mode 100644
index 0000000..6249193
--- /dev/null
+++ b/flycheck-init.el
@@ -0,0 +1,233 @@
+(autoload 'flycheck-manual "flycheck" "\
+Open the Flycheck manual.
+
+\(fn)" t nil)
+
+(autoload 'flycheck-mode "flycheck" "\
+Minor mode for on-the-fly syntax checking.
+
+When called interactively, toggle `flycheck-mode'. With prefix
+ARG, enable `flycheck-mode' if ARG is positive, otherwise disable
+it.
+
+When called from Lisp, enable `flycheck-mode' if ARG is omitted,
+nil or positive. If ARG is `toggle', toggle `flycheck-mode'.
+Otherwise behave as if called interactively.
+
+In `flycheck-mode' the buffer is automatically syntax-checked
+using the first suitable syntax checker from `flycheck-checkers'.
+Use `flycheck-select-checker' to select a checker for the current
+buffer manually.
+
+\\{flycheck-mode-map}
+
+\(fn &optional ARG)" t nil)
+
+(defvar global-flycheck-mode nil "\
+Non-nil if Global Flycheck mode is enabled.
+See the `global-flycheck-mode' command
+for a description of this minor mode.
+Setting this variable directly does not take effect;
+either customize it (see the info node `Easy Customization')
+or call the function `global-flycheck-mode'.")
+
+(custom-autoload 'global-flycheck-mode "flycheck" nil)
+
+(autoload 'global-flycheck-mode "flycheck" "\
+Toggle Flycheck mode in all buffers.
+With prefix ARG, enable Global Flycheck mode if ARG is positive;
+otherwise, disable it. If called from Lisp, enable the mode if
+ARG is omitted or nil.
+
+Flycheck mode is enabled in all buffers where
+`flycheck-mode-on-safe' would do it.
+See `flycheck-mode' for more information on Flycheck mode.
+
+\(fn &optional ARG)" t nil)
+
+(autoload 'flycheck-define-error-level "flycheck" "\
+Define a new error LEVEL with PROPERTIES.
+
+The following PROPERTIES constitute an error level:
+
+`:severity SEVERITY'
+ A number denoting the severity of this level. The higher
+ the number, the more severe is this level compared to other
+ levels. Defaults to 0.
+
+ The severity is used by `flycheck-error-level-<' to
+ determine the ordering of errors according to their levels.
+
+`:compilation-level LEVEL'
+
+ A number indicating the broad class of messages that errors
+ at this level belong to: one of 0 (info), 1 (warning), or
+ 2 or nil (error). Defaults to nil.
+
+ This is used by `flycheck-checker-pattern-to-error-regexp'
+ to map error levels into `compilation-mode''s hierarchy and
+ to get proper highlighting of errors in `compilation-mode'.
+
+`:overlay-category CATEGORY'
+ A symbol denoting the overlay category to use for error
+ highlight overlays for this level. See Info
+ node `(elisp)Overlay Properties' for more information about
+ overlay categories.
+
+ A category for an error level overlay should at least define
+ the `face' property, for error highlighting. Another useful
+ property for error level categories is `priority', to
+ influence the stacking of multiple error level overlays.
+
+`:fringe-bitmap BITMAP'
+ A fringe bitmap symbol denoting the bitmap to use for fringe
+ indicators for this level. See Info node `(elisp)Fringe
+ Bitmaps' for more information about fringe bitmaps,
+ including a list of built-in fringe bitmaps.
+
+`:fringe-face FACE'
+ A face symbol denoting the face to use for fringe indicators
+ for this level.
+
+`:error-list-face FACE'
+ A face symbol denoting the face to use for messages of this
+ level in the error list. See `flycheck-list-errors'.
+
+\(fn LEVEL &rest PROPERTIES)" nil nil)
+
+(function-put 'flycheck-define-error-level 'lisp-indent-function '1)
+
+(autoload 'flycheck-define-command-checker "flycheck" "\
+Define SYMBOL as syntax checker to run a command.
+
+Define SYMBOL as generic syntax checker via
+`flycheck-define-generic-checker', which uses an external command
+to check the buffer. SYMBOL and DOCSTRING are the same as for
+`flycheck-define-generic-checker'.
+
+In addition to the properties understood by
+`flycheck-define-generic-checker', the following PROPERTIES
+constitute a command syntax checker. Unless otherwise noted, all
+properties are mandatory. Note that the default `:error-filter'
+of command checkers is `flycheck-sanitize-errors'.
+
+`:command COMMAND'
+ The command to run for syntax checking.
+
+ COMMAND is a list of the form `(EXECUTABLE [ARG ...])'.
+
+ EXECUTABLE is a string with the executable of this syntax
+ checker. It can be overridden with the variable
+ `flycheck-SYMBOL-executable'. Note that this variable is
+ NOT implicitly defined by this function. Use
+ `flycheck-def-executable-var' to define this variable.
+
+ Each ARG is an argument to the executable, either as string,
+ or as special symbol or form for
+ `flycheck-substitute-argument', which see.
+
+`:error-patterns PATTERNS'
+ A list of patterns to parse the output of the `:command'.
+
+ Each ITEM in PATTERNS is a list `(LEVEL SEXP ...)', where
+ LEVEL is a Flycheck error level (see
+ `flycheck-define-error-level'), followed by one or more RX
+ `SEXP's which parse an error of that level and extract line,
+ column, file name and the message.
+
+ See `rx' for general information about RX, and
+ `flycheck-rx-to-string' for some special RX forms provided
+ by Flycheck.
+
+ All patterns are applied in the order of declaration to the
+ whole output of the syntax checker. Output already matched
+ by a pattern will not be matched by subsequent patterns. In
+ other words, the first pattern wins.
+
+ This property is optional. If omitted, however, an
+ `:error-parser' is mandatory.
+
+`:error-parser FUNCTION'
+ A function to parse errors with.
+
+ The function shall accept three arguments OUTPUT CHECKER
+ BUFFER. OUTPUT is the syntax checker output as string,
+ CHECKER the syntax checker that was used, and BUFFER a
+ buffer object representing the checked buffer. The function
+ must return a list of `flycheck-error' objects parsed from
+ OUTPUT.
+
+ This property is optional. If omitted, it defaults to
+ `flycheck-parse-with-patterns'. In this case,
+ `:error-patterns' is mandatory.
+
+`:standard-input t'
+ Whether to send the buffer contents on standard input.
+
+ If this property is given and has a non-nil value, send the
+ contents of the buffer on standard input.
+
+ Defaults to nil.
+
+Note that you may not give `:start', `:interrupt', and
+`:print-doc' for a command checker. You can give a custom
+`:verify' function, though, whose results will be appended to the
+default `:verify' function of command checkers.
+
+\(fn SYMBOL DOCSTRING &rest PROPERTIES)" nil nil)
+
+(function-put 'flycheck-define-command-checker 'lisp-indent-function '1)
+
+(function-put 'flycheck-define-command-checker 'doc-string-elt '2)
+
+(autoload 'flycheck-def-config-file-var "flycheck" "\
+Define SYMBOL as config file variable for CHECKER, with default FILE-NAME.
+
+SYMBOL is declared as customizable variable using `defcustom', to
+provide configuration files for the given syntax CHECKER.
+CUSTOM-ARGS are forwarded to `defcustom'.
+
+FILE-NAME is the initial value of the new variable. If omitted,
+the default value is nil. It can be either a string or a list of
+strings.
+
+Use this together with the `config-file' form in the `:command'
+argument to `flycheck-define-checker'.
+
+\(fn SYMBOL CHECKER &optional FILE-NAME &rest CUSTOM-ARGS)" nil t)
+
+(function-put 'flycheck-def-config-file-var 'lisp-indent-function '3)
+
+(autoload 'flycheck-def-option-var "flycheck" "\
+Define SYMBOL as option variable with INIT-VALUE for CHECKER.
+
+SYMBOL is declared as customizable variable using `defcustom', to
+provide an option for the given syntax CHECKERS (a checker or a
+list of checkers). INIT-VALUE is the initial value of the
+variable, and DOCSTRING is its docstring. CUSTOM-ARGS are
+forwarded to `defcustom'.
+
+Use this together with the `option', `option-list' and
+`option-flag' forms in the `:command' argument to
+`flycheck-define-checker'.
+
+\(fn SYMBOL INIT-VALUE CHECKERS DOCSTRING &rest CUSTOM-ARGS)" nil t)
+
+(function-put 'flycheck-def-option-var 'lisp-indent-function '3)
+
+(function-put 'flycheck-def-option-var 'doc-string-elt '4)
+
+(autoload 'flycheck-define-checker "flycheck" "\
+Define SYMBOL as command syntax checker with DOCSTRING and PROPERTIES.
+
+Like `flycheck-define-command-checker', but PROPERTIES must not
+be quoted. Also, implicitly define the executable variable for
+SYMBOL with `flycheck-def-executable-var'.
+
+\(fn SYMBOL DOCSTRING &rest PROPERTIES)" nil t)
+
+(function-put 'flycheck-define-checker 'lisp-indent-function '1)
+
+(function-put 'flycheck-define-checker 'doc-string-elt '2)
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "flycheck" '("flycheck-" "list-flycheck-errors" "help-flycheck-checker-d")))
diff --git a/sources b/sources
new file mode 100644
index 0000000..47f5ed5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (emacs-flycheck-31.tar.gz) = e7b3707f38a913d483109cf0e581d41053363e6fc0b849805d13076cc30eca19ec875c44590c3ffb383b73670c6763582f54a2df5502f287ec04b80a542182ec
https://src.fedoraproject.org/rpms/emacs-flycheck/c/0be9eed1f5f2c24e8fa8e...
3 years, 7 months
melmorabity pushed to emacs-pkg-info (master). "First import"
by notifications@fedoraproject.org
Notification time stamped 2020-09-01 00:10:26 UTC
From d87442ccbf1729a82115bfdf80318db616b87286 Mon Sep 17 00:00:00 2001
From: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sep 01 2020 00:10:10 +0000
Subject: First import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e35f2a1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/emacs-pkg-info-0.6.tar.gz
diff --git a/emacs-pkg-info.spec b/emacs-pkg-info.spec
new file mode 100644
index 0000000..5ffa6d7
--- /dev/null
+++ b/emacs-pkg-info.spec
@@ -0,0 +1,47 @@
+%global pkg pkg-info
+
+Name: emacs-%{pkg}
+Version: 0.6
+Release: 1%{?dist}
+Summary: Provide information about Emacs packages
+
+License: GPLv3+
+URL: https://github.com/lunaryorn/%{pkg}.el/
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1: %{pkg}-init.el
+
+BuildRequires: emacs
+BuildRequires: emacs-epl
+Requires: emacs(bin) >= %{_emacs_version}
+Requires: emacs-epl
+BuildArch: noarch
+
+%description
+%{summary}.
+
+
+%prep
+%autosetup -n %{pkg}-%{version}
+
+
+%build
+%{_emacs_bytecompile} %{pkg}.el
+
+
+%install
+install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
+install -pm 0644 %{pkg}.el* -t $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
+
+install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.el
+
+
+%files
+%doc README.md
+%license COPYING
+%{_emacs_sitelispdir}/%{pkg}/
+%{_emacs_sitestartdir}/*.el
+
+
+%changelog
+* Thu Aug 20 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 0.6-1
+- Initial RPM release
diff --git a/pkg-info-init.el b/pkg-info-init.el
new file mode 100644
index 0000000..a025ce5
--- /dev/null
+++ b/pkg-info-init.el
@@ -0,0 +1,104 @@
+(autoload 'pkg-info-library-original-version "pkg-info" "\
+Get the original version in the header of LIBRARY.
+
+The original version is stored in the X-Original-Version header.
+This header is added by the MELPA package archive to preserve
+upstream version numbers.
+
+LIBRARY is either a symbol denoting a named feature, or a library
+name as string.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+Return the version from the header of LIBRARY as list. Signal an
+error if the LIBRARY was not found or had no X-Original-Version
+header.
+
+See Info node `(elisp)Library Headers' for more information
+about library headers.
+
+\(fn LIBRARY &optional SHOW)" t nil)
+
+(autoload 'pkg-info-library-version "pkg-info" "\
+Get the version in the header of LIBRARY.
+
+LIBRARY is either a symbol denoting a named feature, or a library
+name as string.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+Return the version from the header of LIBRARY as list. Signal an
+error if the LIBRARY was not found or had no proper header.
+
+See Info node `(elisp)Library Headers' for more information
+about library headers.
+
+\(fn LIBRARY &optional SHOW)" t nil)
+
+(autoload 'pkg-info-defining-library-original-version "pkg-info" "\
+Get the original version of the library defining FUNCTION.
+
+The original version is stored in the X-Original-Version header.
+This header is added by the MELPA package archive to preserve
+upstream version numbers.
+
+If SHOW is non-nil, show the version in mini-buffer.
+
+This function is mainly intended to find the version of a major
+or minor mode, i.e.
+
+ (pkg-info-defining-library-version 'flycheck-mode)
+
+Return the version of the library defining FUNCTION. Signal an
+error if FUNCTION is not a valid function, if its defining
+library was not found, or if the library had no proper version
+header.
+
+\(fn FUNCTION &optional SHOW)" t nil)
+
+(autoload 'pkg-info-defining-library-version "pkg-info" "\
+Get the version of the library defining FUNCTION.
+
+If SHOW is non-nil, show the version in mini-buffer.
+
+This function is mainly intended to find the version of a major
+or minor mode, i.e.
+
+ (pkg-info-defining-library-version 'flycheck-mode)
+
+Return the version of the library defining FUNCTION. Signal an
+error if FUNCTION is not a valid function, if its defining
+library was not found, or if the library had no proper version
+header.
+
+\(fn FUNCTION &optional SHOW)" t nil)
+
+(autoload 'pkg-info-package-version "pkg-info" "\
+Get the version of an installed PACKAGE.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+Return the version as list, or nil if PACKAGE is not installed.
+
+\(fn PACKAGE &optional SHOW)" t nil)
+
+(autoload 'pkg-info-version-info "pkg-info" "\
+Obtain complete version info for LIBRARY and PACKAGE.
+
+LIBRARY is a symbol denoting a named feature, or a library name
+as string. PACKAGE is a symbol denoting an ELPA package. If
+omitted or nil, default to LIBRARY.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+When called interactively, prompt for LIBRARY. When called
+interactively with prefix argument, prompt for PACKAGE as well.
+
+Return a string with complete version information for LIBRARY.
+This version information contains the version from the headers of
+LIBRARY, and the version of the installed PACKAGE, the LIBRARY is
+part of. If PACKAGE is not installed, or if the PACKAGE version
+is the same as the LIBRARY version, do not include a package
+version.
+
+\(fn LIBRARY &optional PACKAGE SHOW)" t nil)
diff --git a/sources b/sources
new file mode 100644
index 0000000..f4d05c5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (emacs-pkg-info-0.6.tar.gz) = 73531a0a7ab54cf3e365a627d2905cc820f1328ad8ca8f985d1954c877f4a1ad7dc5129f52c4e2accd305661a9b952da9adf0a802c8ab6f35e1c16b55966ef54
https://src.fedoraproject.org/rpms/emacs-pkg-info/c/d87442ccbf1729a82115b...
3 years, 7 months
qulogic pushed to libinsane (f32). "Merge branch 'f32'"
by notifications@fedoraproject.org
Notification time stamped 2020-09-01 00:08:49 UTC
From 297c2030b2fffcb132bfb0d6845e06f67f17a1c3 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Aug 31 2020 23:56:43 +0000
Subject: Merge branch 'f32'
---
diff --git a/.gitignore b/.gitignore
index b22d157..792df95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/libinsane-1.0.2.tar.gz
/libinsane-1.0.3.tar.gz
/libinsane-1.0.4.tar.gz
+/libinsane-1.0.6.tar.gz
diff --git a/libinsane.spec b/libinsane.spec
index dafb8de..ce4e58c 100644
--- a/libinsane.spec
+++ b/libinsane.spec
@@ -1,6 +1,6 @@
Name: libinsane
-Version: 1.0.4
-Release: 3%{?dist}
+Version: 1.0.6
+Release: 1%{?dist}
Summary: Cross-platform access to image scanners
License: LGPLv3+
@@ -84,7 +84,7 @@ Vala bindings for libinsane.
%check
-%meson_test -v
+%meson_test -v -t 5
%files
@@ -118,6 +118,9 @@ Vala bindings for libinsane.
%changelog
+* Mon Aug 31 2020 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 1.0.6-1
+- Update to latest version (#1873874)
+
* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.4-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index f8db199..2fc00ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libinsane-1.0.4.tar.gz) = 2a042fa55874f108b4b1a2cdb88ce60e771f6789cb5704298ce60c4373b4b60e6461e7cf2a96652e1e06a481c02dc6cf9d6aae12c97ad5ac484de815419af5be
+SHA512 (libinsane-1.0.6.tar.gz) = 872392cd7692b014b5c2cb02b988e0e0cd714d326876ed60d0f9445a5e332b2a76129250160d57b1305c91ae72ee336a1ffbcc67e5c6a522042dda7ce100eb79
https://src.fedoraproject.org/rpms/libinsane/c/297c2030b2fffcb132bfb0d684...
3 years, 7 months
qulogic pushed to libinsane (f32). "Fix FTBFS (..more)"
by notifications@fedoraproject.org
Notification time stamped 2020-09-01 00:08:49 UTC
From b6656368fbf0306353801f272f05f4622debce3a Mon Sep 17 00:00:00 2001
From: Igor Raits <ignatenkobrain(a)fedoraproject.org>
Date: Aug 02 2020 08:37:13 +0000
Subject: Fix FTBFS
Signed-off-by: Igor Raits <ignatenkobrain(a)fedoraproject.org>
---
diff --git a/libinsane.spec b/libinsane.spec
index 02ab1bf..dafb8de 100644
--- a/libinsane.spec
+++ b/libinsane.spec
@@ -76,7 +76,7 @@ Vala bindings for libinsane.
%build
%meson
%meson_build
-%meson_build subprojects/libinsane/doc/doc_out
+%meson_build doc
%install
https://src.fedoraproject.org/rpms/libinsane/c/b6656368fbf0306353801f272f...
3 years, 7 months