]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- fix improper usage of %%{_sysconfdir}
authorankry <ankry@pld-linux.org>
Sat, 7 Dec 2002 23:49:19 +0000 (23:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pinfo.spec -> 1.46

pinfo.spec

index 372afc41b8f3cbc237978e5b4cd73ab368045013..7ec2b1579a1f770cf059a66185c90f576ceda1d7 100644 (file)
@@ -63,12 +63,12 @@ Pinfo - 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
+install -d $RPM_BUILD_ROOT/etc/profile.d
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.csh
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/%{name}.sh
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d/%{name}.csh
 
 %find_lang %{name}
 
@@ -85,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS AUTHORS README
 %attr(755,root,root) %{_bindir}/pinfo
-%attr(755,root,root) %{_sysconfdir}/profile.d/*
+%attr(755,root,root) /etc/profile.d/*
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pinforc
 %{_mandir}/man1/*
 %{_infodir}/pinfo*
This page took 0.090537 seconds and 4 git commands to generate.