Browse Source

- add .conf suffix to /etc/apt/apt.conf.d/20listchanges

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6257 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 12 years ago
parent
commit
86d06a09a5
1 changed files with 15 additions and 6 deletions
  1. 15 6
      a/apt-listchanges/apt-listchanges-vl.spec

+ 15 - 6
a/apt-listchanges/apt-listchanges-vl.spec

@@ -1,25 +1,31 @@
 Name: apt-listchanges
 Version: 1.49
-Release: 9%{?_dist_release}
+Release: 10%{?_dist_release}
 Summary: Display new changelog entries from RPM packages
 URL: http://packages.debian.org/unstable/utils/apt-listchanges.html
 Source0: http://ftp.debian.org/debian/dists/woody/main/source/utils/%{name}_%{version}.tar.gz
 Source1: %{name}.1
 Source2: %{name}.conf
-Source3: 20listchanges
+Source3: 20listchanges.conf
 Source4: apt-listchanges-ja.po
 Patch0: %{name}-%{version}-rpm.patch
 Patch1: %{name}-%{version}-pager.patch
 Patch2: %{name}-%{version}-noconfirm.patch
 Patch3: %{name}-vine.patch
+
 License: GPL
 Group: Applications/Administration
-PreReq: grep, textutils
+
+Requires: grep, textutils
 Requires: perl >= 5.6, perl-gettext, rpmver, apt >= 0.5.4.cnc.9
-BuildPreReq: gettext
+BuildRequires: gettext
 BuildArchitectures: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
+Distribution: Vine Linux
+Vendor: Project Vine
+Packager: daisuke
+
 %description 
 apt-listchanges is a tool to show what has been changed in a new version
 of a package, as compared to the version currently installed on the system.
@@ -46,7 +52,7 @@ cd po/
 install -D -m755 %{name} %{buildroot}/%{_bindir}/%{name}
 install -D -m644 %{_sourcedir}/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 install -D -m644 %{_sourcedir}/%{name}.conf %{buildroot}%{_sysconfdir}/apt/listchanges.conf
-install -D -m644 %{_sourcedir}/20listchanges %{buildroot}%{_sysconfdir}/apt/apt.conf.d/20listchanges
+install -D -m644 %{_sourcedir}/20listchanges.conf %{buildroot}%{_sysconfdir}/apt/apt.conf.d/20listchanges.conf
 install -D -m644 po/ja.mo %{buildroot}%{_datadir}/locale/ja/LC_MESSAGES/apt-listchanges.mo
 
 %clean
@@ -56,12 +62,15 @@ rm -rf %{buildroot}
 %defattr(-,root,root)
 %doc TODO
 %config(noreplace) %{_sysconfdir}/apt/listchanges.conf
-%{_sysconfdir}/apt/apt.conf.d/20listchanges
+%{_sysconfdir}/apt/apt.conf.d/20listchanges.conf
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1*
 %{_datadir}/locale/ja/LC_MESSAGES/apt-listchanges.mo
 
 %changelog
+* Wed May 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.49-10
+- rename 20listchanges to 20listchanges.conf
+
 * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-9vl5
 - applied new versioning policy