Skip to content

Commit

Permalink
Updated spec for redhat and rules for debian
Browse files Browse the repository at this point in the history
git-svn-id: http://otpd.googlecode.com/svn/trunk@6 1a59f654-b740-11de-97ce-e783fd196cab
  • Loading branch information
gpaterno committed Nov 17, 2009
1 parent 4f1db7e commit 5ef2951
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ install: build

$(MAKE) install DESTDIR=$(CURDIR)/debian/otpd
# schema
install -D -m 0644 userops/otp.schema $(CURDIR)/debian/otpd/usr/lib/trid/otp.schema
install -m 0644 userops/schema2ad $(CURDIR)/debian/otpd/usr/lib/trid/schema2ad
install -D -m 0644 userops/otp.schema $(CURDIR)/debian/otpd/usr/lib/otpd/otp.schema
install -m 0644 userops/schema2ad $(CURDIR)/debian/otpd/usr/lib/otpd/schema2ad


# Build architecture-independent files here.
Expand Down
10 changes: 5 additions & 5 deletions redhat/otpd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ chmod 0644 $RPM_BUILD_ROOT/etc/sysconfig/%{name}
# create the plugin socket directory
mkdir -p -m 0755 $RPM_BUILD_ROOT/var/run/%{name}
# schema
mkdir -p $RPM_BUILD_ROOT%{_libdir}/trid
%{__install} -m 0644 userops/otp.schema $RPM_BUILD_ROOT%{_libdir}/trid
%{__install} -m 0755 userops/schema2ad $RPM_BUILD_ROOT%{_libdir}/trid
mkdir -p $RPM_BUILD_ROOT%{_libdir}/otpd
%{__install} -m 0644 userops/otp.schema $RPM_BUILD_ROOT%{_libdir}/otpd
%{__install} -m 0755 userops/schema2ad $RPM_BUILD_ROOT%{_libdir}/otpd

%clean
cd ..
Expand All @@ -66,13 +66,13 @@ fi

%files
%defattr(-, root, root)
%doc NEWS README LICENSE.TRID README.API README.LICENSE
%doc NEWS README README.API README.LICENSE
%dir /var/run/%{name}
%attr(0600, root, root) %config(noreplace) /etc/%{name}.conf
%config(noreplace) /etc/sysconfig/%{name}
%{_initrddir}/%{name}
%{_sbindir}/*
%{_libdir}/trid
%{_libdir}/otpd
%{_mandir}/*/*

%changelog
Expand Down

0 comments on commit 5ef2951

Please sign in to comment.