|
@@ -1,14 +1,15 @@
|
|
|
%define _noVersionedDependencies 1
|
|
|
%define prereq_ge() %(LC_ALL="C" rpm -q --queryformat 'Requires:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
|
|
|
%define origname rpm-spec-mode
|
|
|
-%define origver 0.12
|
|
|
+%define origver 0.15
|
|
|
|
|
|
Summary: RPM spec file editing commands for Emacs/XEmacs
|
|
|
Name: %{origname}
|
|
|
Version: %{origver}
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
-Source0: http://www.tihlde.org/~stigb/rpm-spec-mode.el
|
|
|
+# from https://github.com/bjorlykke/rpm-spec-mode/archive/master.zip
|
|
|
+Source0: %{name}-master.zip
|
|
|
Source1: %{origname}-install.sh
|
|
|
Source2: %{origname}-remove.sh
|
|
|
Source3: vine-default-%{origname}.el
|
|
@@ -32,7 +33,7 @@ RPM spec file editing commands for Emacs/XEmacs
|
|
|
|
|
|
%prep
|
|
|
|
|
|
-%setup -T -c %{origname}-%{origver}
|
|
|
+%setup -n %{origname}-master
|
|
|
|
|
|
%build
|
|
|
|
|
@@ -48,7 +49,7 @@ mkdir -p %{buildroot}%{emacsen_pkgdir}/remove
|
|
|
# install el files
|
|
|
#
|
|
|
|
|
|
-%__cp -p %{SOURCE0} %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/emacs/site-lisp/%{origname}
|
|
|
+%__cp -p %{name}.el %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/emacs/site-lisp/%{origname}
|
|
|
|
|
|
|
|
|
#
|
|
@@ -90,12 +91,16 @@ fi
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
+%doc LICENSE README.md
|
|
|
%{_datadir}/emacs/site-lisp/%{origname}
|
|
|
%{emacsen_pkgdir}/install/%{origname}
|
|
|
%{emacsen_pkgdir}/remove/%{origname}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jan 5 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.15-1
|
|
|
+- update to 0.15
|
|
|
+
|
|
|
* Thu Feb 9 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.12-2
|
|
|
- updated rpm-spec-mode-init.el
|
|
|
|